public interface Authenticator
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
SystemUser |
authenticate(Credentials userCredentials)
Authenticates a user with the given Credentials.
|
static final java.lang.String PRINCIPAL
static final java.lang.String KEY
static final java.lang.String TENANT
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.