Class LDAPRebindAuth
- java.lang.Object
-
- com.unboundid.ldap.sdk.migrate.ldapjdk.LDAPRebindAuth
-
- All Implemented Interfaces:
java.io.Serializable
@NotExtensible @NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public class LDAPRebindAuth extends java.lang.Object implements java.io.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, theReferralConnector
class should be used instead.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LDAPRebindAuth(java.lang.String dn, java.lang.String password)
Creates a new LDAP rebind auth object with the provided information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDN()
Retrieves the DN to use when authenticating.java.lang.String
getPassword()
Retrieves the password to use when authenticating.
-
-
-
Constructor Detail
-
LDAPRebindAuth
public LDAPRebindAuth(@Nullable java.lang.String dn, @Nullable java.lang.String password)
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 Detail
-
getDN
@Nullable public java.lang.String getDN()
Retrieves the DN to use when authenticating.- Returns:
- The DN to use when authenticating.
-
getPassword
@Nullable public java.lang.String getPassword()
Retrieves the password to use when authenticating.- Returns:
- The password to use when authenticating.
-
-