@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface AuthInfo
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthenticationDN()
Retrieves the DN of the user that has authenticated, if applicable.
|
Entry |
getAuthenticationEntry()
Retrieves the entry for the user that has authenticated, if applicable.
|
java.lang.String |
getAuthorizationDN()
Retrieves the DN of the authorization identity for the client connection,
if applicable.
|
Entry |
getAuthorizationEntry()
Retrieves the entry for the authorization identity, if applicable.
|
AuthType |
getAuthType()
Retrieves the type of authentication performed by the client.
|
java.lang.String |
getSASLMechanismName()
Retrieves the name of the SASL mechanism used to authenticate, if
applicable.
|
boolean |
isAuthenticated()
Indicates whether the associated client has authenticated to the server.
|
boolean isAuthenticated()
true if the associated client has authenticated to the
server, or false if not.AuthType getAuthType()
java.lang.String getAuthenticationDN()
null if the
client has not authenticated.Entry getAuthenticationEntry()
null if
the client has not yet authenticated.java.lang.String getAuthorizationDN()
null if the client has not yet authenticated or if the
authorization identity is the anonymous user.Entry getAuthorizationEntry()
null if the
client has not yet authenticated or if the authorization identity
is the anonymous user.java.lang.String getSASLMechanismName()
null if the client has not used SASL authentication.