public class IpRegexpAuthenticator extends Object implements Authenticator<TokenCredentials>
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
IpRegexpAuthenticator() |
IpRegexpAuthenticator(String regexpPattern) |
| Modifier and Type | Method and Description |
|---|---|
void |
setRegexpPattern(String regexpPattern) |
String |
toString() |
void |
validate(TokenCredentials credentials,
WebContext context)
Validate the credentials.
|
public IpRegexpAuthenticator()
public IpRegexpAuthenticator(String regexpPattern)
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 necessarypublic void setRegexpPattern(String regexpPattern)
Copyright © 2017. All rights reserved.