|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface AuthInfo
This interface defines a set of methods that may be used to obtain information about the authentication and/or authorization identity of a client connection.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||