Interface LDAPContext.InternalLdapClient

  • Enclosing class:
    LDAPContext

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

      • getAuthenticatedSocket

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