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 Details

  • Constructor Details

    • SAML2Authenticator

      public SAML2Authenticator(String attributeAsId, Map<String,String> mappedAttributes)
    • SAML2Authenticator

      public SAML2Authenticator(String attributeAsId)
  • Method Details

    • internalInit

      protected void internalInit(boolean forceReinit)
      Specified by:
      internalInit in class org.pac4j.core.util.InitializableObject
    • validate

      public Optional<org.pac4j.core.credentials.Credentials> validate(org.pac4j.core.credentials.Credentials cred, org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore)
      Specified by:
      validate in interface org.pac4j.core.credentials.authenticator.Authenticator