public class AcceptUsersAuthenticationHandler extends AbstractUsernamePasswordAuthenticationHandler
Note that this class makes an unmodifiable copy of whatever map is provided to it.
logger| Constructor and Description |
|---|
AcceptUsersAuthenticationHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected HandlerResult |
authenticateUsernamePasswordInternal(UsernamePasswordCredential credential)
Authenticates a username/password credential by an arbitrary strategy.
|
void |
setUsers(Map<String,String> users) |
createHandlerResult, doAuthentication, getPasswordEncoder, getPasswordPolicyConfiguration, getPrincipalNameTransformer, setPasswordEncoder, setPasswordPolicyConfiguration, setPrincipalNameTransformer, supportsauthenticate, postAuthenticate, preAuthenticategetName, setNameprotected final HandlerResult authenticateUsernamePasswordInternal(UsernamePasswordCredential credential) throws GeneralSecurityException, PreventedException
authenticateUsernamePasswordInternal in class AbstractUsernamePasswordAuthenticationHandlercredential - the credential object bearing the transformed username and password.GeneralSecurityException - On authentication failure.PreventedException - On the indeterminate case when authentication is prevented.Copyright © 2004-2015 Apereo. All Rights Reserved.