Interface SuccessSASLBindResult
-
- All Superinterfaces:
SASLBindResult
@NotExtensible @ThreadSafety(level=COMPLETELY_THREADSAFE) public interface SuccessSASLBindResult extends SASLBindResult
This interface may be used to obtain information about the result of processing a SASL bind operation in which a user has successfully completed the authentication process.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAuthenticatedUserDN()
Retrieves the DN of the user that was successfully authenticated.java.lang.String
getAuthorizedUserDN()
Retrieves the DN of the authorization identity resulting from the bind.ASN1OctetString
getPasswordUsed()
Retrieves the plaintext representation of the password used to authenticate, if available.-
Methods inherited from interface com.unboundid.directory.sdk.ds.types.SASLBindResult
getBindResult, getBindResultType
-
-
-
-
Method Detail
-
getAuthenticatedUserDN
java.lang.String getAuthenticatedUserDN()
Retrieves the DN of the user that was successfully authenticated.- Returns:
- The DN of the user that was successfully authenticated, or an empty string if the authentication was anonymous.
-
getAuthorizedUserDN
java.lang.String getAuthorizedUserDN()
Retrieves the DN of the authorization identity resulting from the bind.- Returns:
- The DN of the authorization identity resulting from the bind, or an empty string if the authorization identity should be anonymous.
-
getPasswordUsed
ASN1OctetString getPasswordUsed()
Retrieves the plaintext representation of the password used to authenticate, if available.- Returns:
- The plaintext representation of the password used to authenticate,
or
null
if this is not available or applicable.
-
-