|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Authenticator is an interface for authenticating a user given a set of user credentials.
Field Summary | |
---|---|
static java.lang.String |
KEY
Constant that holds the name of the environment property for specifying the authenticating user's key, such as a password, certificate, etc.. |
static java.lang.String |
PRINCIPAL
Constant that holds the name of the environment property for specifying the authenticating user's identifier or name. |
static java.lang.String |
TENANT
Constant that holds the name of the environment property for specifying the authenticating user's tenant DN. |
Method Summary | |
---|---|
SystemUser |
authenticate(Credentials userCredentials)
Authenticates a user with the given Credentials. |
Field Detail |
public static final java.lang.String PRINCIPAL
public static final java.lang.String KEY
public static final java.lang.String TENANT
Method Detail |
public SystemUser authenticate(Credentials userCredentials) throws AuthenticationFailedException, ConfigurationException
userCredentials
- the user's credentials to be
authenticated.
AuthenticationFailedException
- thrown if the
authentication attempt
failed to invalid user
credentials.
ConfigurationException
- thrown if the required
credentials are not provided
or the provided credentials
are malformed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |