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)
CredentialsException
in case of failure.credentials
- the given credentialscontext
- the web contextCopyright © 2018. All rights reserved.