Interface LDAPContext.InternalConnectionFactory

  • Enclosing class:
    LDAPContext

    public static interface LDAPContext.InternalConnectionFactory
    An internal connection factory providing direct connection to this Directory Server without the network overhead.
    • Method Detail

      • getAuthenticatedConnection

        Connection getAuthenticatedConnection​(Entry userEntry)
                                       throws LdapException
        Get a direct Connection to this Directory Server.
        Parameters:
        userEntry - The returned connection will be authenticated as userEntry.
        Returns:
        A direct Connection to this Directory Server.
        Throws:
        LdapException - If a connection cannot be created (i.e: because an administrative limit has been exceeded).