public static interface LDAPContext.InternalConnectionFactory
Modifier and Type | Method and Description |
---|---|
org.forgerock.opendj.ldap.Connection |
getAuthenticatedConnection(Entry userEntry)
Get a direct
Connection to this Directory Server. |
org.forgerock.opendj.ldap.Connection getAuthenticatedConnection(Entry userEntry) throws org.forgerock.opendj.ldap.LdapException
Connection
to this Directory Server.userEntry
- The returned connection will be authenticated as userEntry.Connection
to this Directory Server.org.forgerock.opendj.ldap.LdapException
- If a connection cannot be created (i.e: because an administrative limit has been exceeded).Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.