Package netscape.ldap

Interface LDAPBind

  • All Known Implementing Classes:
    LDAPSaslBind

    public interface LDAPBind
    Performs explicit bind processing on a referral. A client may specify an instance of this class for use on a single operation (through the LDAPConstraints object) or all operations (through LDAPConnection.setOption()). It is typically used to control the authentication mechanism used on implicit referral handling.
    • Method Detail

      • bind

        void bind​(LDAPConnection conn)
           throws LDAPException
        This method is called by LDAPConnection when authenticating. An implementation of LDAPBind may access the host, port, credentials, and other information in the LDAPConnection in order to decide on an appropriate authentication mechanism.
        The bind method can also interact with a user or external module.
        Parameters:
        conn - an established connection to an LDAP server
        Throws:
        LDAPException
        See Also:
        LDAPConnection.bind(java.lang.String, java.lang.String)