public interface Authenticator<C extends Credentials>
Credentials and should throw a CredentialsException
if the authentication fails.| Modifier and Type | Method and Description |
|---|---|
void |
validate(C credentials,
WebContext context)
Validate the credentials.
|
void validate(C credentials, WebContext context) throws HttpAction, CredentialsException
CredentialsException in case of failure.credentials - the given credentialscontext - the web contextHttpAction - requires a specific HTTP action if necessaryCredentialsException - the credentials are invalidCopyright © 2017. All Rights Reserved.