Examples of LDAPEntry


Examples of org.graylog2.security.ldap.LdapEntry

                return response;
            }

            String userPrincipalName = null;
            try {
                final LdapEntry entry = ldapConnector.search(
                        connection,
                        request.searchBase,
                        request.searchPattern,
                        request.principal,
                        request.activeDirectory);
                if (entry != null) {
                    userPrincipalName = entry.getDn();
                    response.entry = entry.getAttributes();
                }
            } catch (CursorException | LdapException e) {
                response.entry = null;
                response.exception = e.getMessage();
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.