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.
 
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.