public interface UsernamePasswordAuthenticator extends Authenticator<UsernamePasswordCredentials>
Modifier and Type | Method and Description |
---|---|
void |
validate(UsernamePasswordCredentials credentials,
WebContext context)
Validate the credentials.
|
void validate(UsernamePasswordCredentials credentials, WebContext context) throws HttpAction
Authenticator
CredentialsException
in case of failure.validate
in interface Authenticator<UsernamePasswordCredentials>
credentials
- the given credentialscontext
- the web contextHttpAction
- requires a specific HTTP action if necessaryCopyright © 2016. All rights reserved.