public class IpRegexpAuthenticator extends Object implements TokenAuthenticator
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)
Validate the credentials.
|
public IpRegexpAuthenticator()
public IpRegexpAuthenticator(String regexpPattern)
public void validate(TokenCredentials credentials)
TokenAuthenticator
CredentialsException
in case of failure.validate
in interface Authenticator<TokenCredentials>
validate
in interface TokenAuthenticator
credentials
- the given credentials.public void setRegexpPattern(String regexpPattern)
Copyright © 2016. All Rights Reserved.