Class LDAPRebindAuth

java.lang.Object
com.unboundid.ldap.sdk.migrate.ldapjdk.LDAPRebindAuth
All Implemented Interfaces:
Serializable

This class provides a data structure that may be used when authenticating a connection used to follow 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.
See Also:
  • Constructor Details

    • LDAPRebindAuth

      Creates a new LDAP rebind auth object with the provided information.
      Parameters:
      dn - The DN to use when authenticating.
      password - The password to use when authenticating.
  • Method Details

    • getDN

      Retrieves the DN to use when authenticating.
      Returns:
      The DN to use when authenticating.
    • getPassword

      Retrieves the password to use when authenticating.
      Returns:
      The password to use when authenticating.