Interface LDAPBind


  • @Extensible
    @ThreadSafety(level=INTERFACE_THREADSAFE)
    public interface LDAPBind
    This interface defines a method that can be used to bind to a server when following a referral.

    This class is primarily intended to be used in the process of updating applications which use the Netscape Directory SDK for Java to switch to or coexist with the UnboundID LDAP SDK for Java. For applications not written using the Netscape Directory SDK for Java, the ReferralConnector class should be used instead.
    • Method Detail

      • bind

        void bind​(@NotNull
                  LDAPConnection conn)
           throws LDAPException
        Authenticates the provided connection created for the purpose of following a referral.
        Parameters:
        conn - The connection to be authenticated.
        Throws:
        LDAPException - If a problem occurs while processing the bind.