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