Class SAML2ConfigurationContext

java.lang.Object
org.opensaml.messaging.context.BaseContext
org.pac4j.saml.context.SAML2ConfigurationContext
All Implemented Interfaces:
Iterable<org.opensaml.messaging.context.BaseContext>

public class SAML2ConfigurationContext extends org.opensaml.messaging.context.BaseContext
Since:
5.0.0
Author:
Misagh Moayyed
  • Field Details

    • REQUEST_ATTR_AUTHN_REQUEST_BINDING_TYPE

      public static final String REQUEST_ATTR_AUTHN_REQUEST_BINDING_TYPE
      Constant REQUEST_ATTR_AUTHN_REQUEST_BINDING_TYPE="AuthnRequestBindingType"
      See Also:
    • REQUEST_ATTR_ASSERTION_CONSUMER_SERVICE_INDEX

      public static final String REQUEST_ATTR_ASSERTION_CONSUMER_SERVICE_INDEX
      Constant REQUEST_ATTR_ASSERTION_CONSUMER_SERVICE_INDEX="AssertionConsumerServiceIndex"
      See Also:
    • REQUEST_ATTR_ATTRIBUTE_CONSUMING_SERVICE_INDEX

      public static final String REQUEST_ATTR_ATTRIBUTE_CONSUMING_SERVICE_INDEX
      Constant REQUEST_ATTR_ATTRIBUTE_CONSUMING_SERVICE_INDEX="AttributeConsumingServiceIndex"
      See Also:
    • REQUEST_ATTR_COMPARISON_TYPE

      public static final String REQUEST_ATTR_COMPARISON_TYPE
      Constant REQUEST_ATTR_COMPARISON_TYPE="ComparisonType"
      See Also:
    • REQUEST_ATTR_NAME_ID_POLICY_FORMAT

      public static final String REQUEST_ATTR_NAME_ID_POLICY_FORMAT
      Constant REQUEST_ATTR_NAME_ID_POLICY_FORMAT="NameIdPolicyFormat"
      See Also:
    • REQUEST_ATTR_NAME_ID_POLICY_ALLOW_CREATE

      public static final String REQUEST_ATTR_NAME_ID_POLICY_ALLOW_CREATE
      Constant REQUEST_ATTR_NAME_ID_POLICY_ALLOW_CREATE="NameIdPolicyAllowCreate"
      See Also:
    • REQUEST_ATTR_PROVIDER_NAME

      public static final String REQUEST_ATTR_PROVIDER_NAME
      Constant REQUEST_ATTR_PROVIDER_NAME="ProviderName"
      See Also:
    • REQUEST_ATTR_ISSUER_FORMAT

      public static final String REQUEST_ATTR_ISSUER_FORMAT
      Constant REQUEST_ATTR_ISSUER_FORMAT="IssuerFormat"
      See Also:
    • REQUEST_ATTR_USE_NAME_QUALIFIER

      public static final String REQUEST_ATTR_USE_NAME_QUALIFIER
      Constant REQUEST_ATTR_USE_NAME_QUALIFIER="UseNameQualifier"
      See Also:
    • REQUEST_ATTR_AUTHN_CONTEXT_CLASS_REFS

      public static final String REQUEST_ATTR_AUTHN_CONTEXT_CLASS_REFS
      Constant REQUEST_ATTR_AUTHN_CONTEXT_CLASS_REFS="AuthnContextClassRefs"
      See Also:
    • REQUEST_ATTR_NAME_ID_ATTRIBUTE

      public static final String REQUEST_ATTR_NAME_ID_ATTRIBUTE
      Constant REQUEST_ATTR_NAME_ID_ATTRIBUTE="NameIdAttribute"
      See Also:
    • REQUEST_ATTR_WANTS_ASSERTIONS_SIGNED

      public static final String REQUEST_ATTR_WANTS_ASSERTIONS_SIGNED
      Constant REQUEST_ATTR_WANTS_ASSERTIONS_SIGNED="WantsAssertionsSigned"
      See Also:
    • REQUEST_ATTR_WANTS_RESPONSES_SIGNED

      public static final String REQUEST_ATTR_WANTS_RESPONSES_SIGNED
      Constant REQUEST_ATTR_WANTS_RESPONSES_SIGNED="WantsResponsesSigned"
      See Also:
    • REQUEST_ATTR_MAXIMUM_AUTHENTICATION_LIFETIME

      public static final String REQUEST_ATTR_MAXIMUM_AUTHENTICATION_LIFETIME
      Constant REQUEST_ATTR_MAXIMUM_AUTHENTICATION_LIFETIME="MaximumAuthenticationLifetime"
      See Also:
  • Constructor Details

    • SAML2ConfigurationContext

      public SAML2ConfigurationContext(org.pac4j.core.context.WebContext webContext, SAML2Configuration configuration)

      Constructor for SAML2ConfigurationContext.

      Parameters:
      webContext - a WebContext object
      configuration - a SAML2Configuration object
  • Method Details

    • getSAML2Configuration

      public SAML2Configuration getSAML2Configuration()

      getSAML2Configuration.

      Returns:
      a SAML2Configuration object
    • getAuthnRequestBindingType

      public String getAuthnRequestBindingType()

      getAuthnRequestBindingType.

      Returns:
      a String object
    • getAssertionConsumerServiceIndex

      public Integer getAssertionConsumerServiceIndex()

      getAssertionConsumerServiceIndex.

      Returns:
      a Integer object
    • getAttributeConsumingServiceIndex

      public Integer getAttributeConsumingServiceIndex()

      getAttributeConsumingServiceIndex.

      Returns:
      a Integer object
    • getComparisonType

      public String getComparisonType()

      getComparisonType.

      Returns:
      a String object
    • getNameIdPolicyFormat

      public String getNameIdPolicyFormat()

      getNameIdPolicyFormat.

      Returns:
      a String object
    • isNameIdPolicyAllowCreate

      public Boolean isNameIdPolicyAllowCreate()

      isNameIdPolicyAllowCreate.

      Returns:
      a Boolean object
    • getProviderName

      public String getProviderName()

      getProviderName.

      Returns:
      a String object
    • getIssuerFormat

      public String getIssuerFormat()

      getIssuerFormat.

      Returns:
      a String object
    • isUseNameQualifier

      public Boolean isUseNameQualifier()

      isUseNameQualifier.

      Returns:
      a Boolean object
    • getAuthnContextClassRefs

      public List<String> getAuthnContextClassRefs()

      getAuthnContextClassRefs.

      Returns:
      a List object
    • isPassive

      public Boolean isPassive()

      isPassive.

      Returns:
      a Boolean object
    • isForceAuth

      public Boolean isForceAuth()

      isForceAuth.

      Returns:
      a Boolean object
    • getNameIdAttribute

      public String getNameIdAttribute()

      getNameIdAttribute.

      Returns:
      a String object
    • isWantsAssertionsSigned

      public Boolean isWantsAssertionsSigned()

      isWantsAssertionsSigned.

      Returns:
      a Boolean object
    • getMaximumAuthenticationLifetime

      public Long getMaximumAuthenticationLifetime()

      getMaximumAuthenticationLifetime.

      Returns:
      a Long object
    • isWantsResponsesSigned

      public boolean isWantsResponsesSigned()

      isWantsResponsesSigned.

      Returns:
      a boolean