public class IpRegexpAuthenticator extends AbstractRegexpAuthenticator<IpProfile> implements Authenticator<TokenCredentials>
logger, pattern, regexpPattern
Constructor and Description |
---|
IpRegexpAuthenticator() |
IpRegexpAuthenticator(String regexpPattern) |
Modifier and Type | Method and Description |
---|---|
protected void |
internalInit()
Internal initialization of the object.
|
void |
validate(TokenCredentials credentials,
WebContext context)
Validate the credentials.
|
setRegexpPattern, toString
defaultProfileDefinition, getProfileDefinition, setProfileDefinition
init
public IpRegexpAuthenticator()
public IpRegexpAuthenticator(String regexpPattern)
protected void internalInit()
InitializableObject
internalInit
in class InitializableObject
public void validate(TokenCredentials credentials, WebContext context)
Authenticator
CredentialsException
in case of failure.validate
in interface Authenticator<TokenCredentials>
credentials
- the given credentialscontext
- the web contextCopyright © 2019. All rights reserved.