com.unboundid.directory.sdk.ds.types
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
 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.
 com.unboundid.asn1.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

com.unboundid.asn1.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.