public class IpRegexpAuthenticator extends ProfileDefinitionAware<IpProfile> 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 |
|---|---|
protected void |
internalInit()
Internal initialization of the object.
|
void |
setRegexpPattern(String regexpPattern) |
String |
toString() |
void |
validate(TokenCredentials credentials,
WebContext context)
Validate the credentials.
|
defaultProfileDefinition, getProfileDefinition, setProfileDefinitioninitpublic IpRegexpAuthenticator()
public IpRegexpAuthenticator(String regexpPattern)
protected void internalInit()
InitializableObjectinternalInit in class InitializableObjectpublic void validate(TokenCredentials credentials, WebContext context)
AuthenticatorCredentialsException in case of failure.validate in interface Authenticator<TokenCredentials>credentials - the given credentialscontext - the web contextpublic void setRegexpPattern(String regexpPattern)
Copyright © 2018. All rights reserved.