Class SAML2Authenticator
java.lang.Object
org.pac4j.core.util.InitializableObject
org.pac4j.core.profile.definition.ProfileDefinitionAware
org.pac4j.saml.credentials.authenticator.SAML2Authenticator
- All Implemented Interfaces:
org.pac4j.core.credentials.authenticator.Authenticator
public class SAML2Authenticator
extends org.pac4j.core.profile.definition.ProfileDefinitionAware
implements org.pac4j.core.credentials.authenticator.Authenticator
Authenticator for SAML 2.0
- Since:
- 2.0.0
- Author:
- Jerome Leleu
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSAML2Authenticator
(String attributeAsId) SAML2Authenticator
(String attributeAsId, Map<String, String> mappedAttributes) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
internalInit
(boolean forceReinit) void
validate
(org.pac4j.core.credentials.Credentials cred, org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore) Methods inherited from class org.pac4j.core.profile.definition.ProfileDefinitionAware
defaultProfileDefinition, getProfileDefinition, setProfileDefinition
Methods inherited from class org.pac4j.core.util.InitializableObject
afterInternalInit, beforeInternalInit, getLastAttempt, getMaxAttempts, getMinTimeIntervalBetweenAttemptsInMilliseconds, getNbAttempts, init, init, isInitialized, reinit, setMaxAttempts, setMinTimeIntervalBetweenAttemptsInMilliseconds, shouldInitialize
-
Field Details
-
SAML_CONDITION_NOT_BEFORE_ATTRIBUTE
- See Also:
-
SAML_CONDITION_NOT_ON_OR_AFTER_ATTRIBUTE
- See Also:
-
SESSION_INDEX
- See Also:
-
ISSUER_ID
- See Also:
-
AUTHN_CONTEXT
- See Also:
-
SAML_NAME_ID_FORMAT
- See Also:
-
SAML_NAME_ID_NAME_QUALIFIER
- See Also:
-
SAML_NAME_ID_SP_NAME_QUALIFIER
- See Also:
-
SAML_NAME_ID_SP_PROVIDED_ID
- See Also:
-
logger
protected final org.slf4j.Logger logger
-
-
Constructor Details
-
SAML2Authenticator
-
SAML2Authenticator
-
-
Method Details
-
internalInit
protected void internalInit(boolean forceReinit) - Specified by:
internalInit
in classorg.pac4j.core.util.InitializableObject
-
validate
public void validate(org.pac4j.core.credentials.Credentials cred, org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore) - Specified by:
validate
in interfaceorg.pac4j.core.credentials.authenticator.Authenticator
-