Class X509Authenticator
- java.lang.Object
-
- org.pac4j.core.util.InitializableObject
-
- org.pac4j.core.profile.definition.ProfileDefinitionAware
-
- org.pac4j.http.credentials.authenticator.AbstractRegexpAuthenticator
-
- org.pac4j.http.credentials.authenticator.X509Authenticator
-
- All Implemented Interfaces:
org.pac4j.core.credentials.authenticator.Authenticator
public class X509Authenticator extends AbstractRegexpAuthenticator implements org.pac4j.core.credentials.authenticator.Authenticator
AuthenticatesX509Credentials
. Like the SubjectDnX509PrincipalExtractor in Spring Security.- Since:
- 3.3.0
- Author:
- Jerome Leleu
-
-
Field Summary
-
Fields inherited from class org.pac4j.http.credentials.authenticator.AbstractRegexpAuthenticator
logger, pattern, regexpPattern
-
-
Constructor Summary
Constructors Constructor Description X509Authenticator()
X509Authenticator(java.lang.String regexpPattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
internalInit()
void
validate(org.pac4j.core.credentials.Credentials credentials, org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore)
-
Methods inherited from class org.pac4j.http.credentials.authenticator.AbstractRegexpAuthenticator
setRegexpPattern, toString
-
Methods inherited from class org.pac4j.core.profile.definition.ProfileDefinitionAware
defaultProfileDefinition, getProfileDefinition, setProfileDefinition
-
-
-
-
Method Detail
-
internalInit
protected void internalInit()
- Specified by:
internalInit
in classorg.pac4j.core.util.InitializableObject
-
validate
public void validate(org.pac4j.core.credentials.Credentials credentials, org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore)
- Specified by:
validate
in interfaceorg.pac4j.core.credentials.authenticator.Authenticator
-
-