Class SAML2MessageContext

java.lang.Object
org.pac4j.saml.context.SAML2MessageContext

public class SAML2MessageContext extends Object
Allow to store additional information for SAML processing.
Version:
1.5.0
Author:
Michael Remond
  • Constructor Details

    • SAML2MessageContext

      public SAML2MessageContext(org.pac4j.core.context.CallContext callContext)

      Constructor for SAML2MessageContext.

      Parameters:
      callContext - a CallContext object
  • Method Details

    • getConfigurationContext

      public SAML2ConfigurationContext getConfigurationContext()

      getConfigurationContext.

      Returns:
      a SAML2ConfigurationContext object
    • getSPSSODescriptor

      public final org.opensaml.saml.saml2.metadata.SPSSODescriptor getSPSSODescriptor()

      getSPSSODescriptor.

      Returns:
      a SPSSODescriptor object
    • getIDPSSODescriptor

      public final org.opensaml.saml.saml2.metadata.IDPSSODescriptor getIDPSSODescriptor()

      getIDPSSODescriptor.

      Returns:
      a IDPSSODescriptor object
    • getIDPSingleLogoutService

      public final org.opensaml.saml.saml2.metadata.SingleLogoutService getIDPSingleLogoutService(String binding)

      getIDPSingleLogoutService.

      Parameters:
      binding - a String object
      Returns:
      a SingleLogoutService object
    • getIDPSingleSignOnService

      public org.opensaml.saml.saml2.metadata.SingleSignOnService getIDPSingleSignOnService(String binding)

      getIDPSingleSignOnService.

      Parameters:
      binding - a String object
      Returns:
      a SingleSignOnService object
    • getSPAssertionConsumerService

      public org.opensaml.saml.saml2.metadata.AssertionConsumerService getSPAssertionConsumerService()

      getSPAssertionConsumerService.

      Returns:
      a AssertionConsumerService object
    • getSPAssertionConsumerService

      public org.opensaml.saml.saml2.metadata.AssertionConsumerService getSPAssertionConsumerService(org.opensaml.saml.saml2.core.StatusResponseType response)

      getSPAssertionConsumerService.

      Parameters:
      response - a StatusResponseType object
      Returns:
      a AssertionConsumerService object
    • getSPAssertionConsumerService

      public org.opensaml.saml.saml2.metadata.AssertionConsumerService getSPAssertionConsumerService(String acsIndex)

      getSPAssertionConsumerService.

      Parameters:
      acsIndex - a String object
      Returns:
      a AssertionConsumerService object
    • getSPAssertionConsumerService

      protected org.opensaml.saml.saml2.metadata.AssertionConsumerService getSPAssertionConsumerService(org.opensaml.saml.saml2.metadata.SPSSODescriptor spssoDescriptor, Collection<org.opensaml.saml.saml2.metadata.AssertionConsumerService> services)

      getSPAssertionConsumerService.

      Parameters:
      spssoDescriptor - a SPSSODescriptor object
      services - a List object
      Returns:
      a AssertionConsumerService object
    • getProfileRequestContext

      public final org.opensaml.profile.context.ProfileRequestContext getProfileRequestContext()

      getProfileRequestContext.

      Returns:
      a ProfileRequestContext object
    • getSAMLSelfEntityContext

      public final org.opensaml.saml.common.messaging.context.SAMLSelfEntityContext getSAMLSelfEntityContext()

      getSAMLSelfEntityContext.

      Returns:
      a SAMLSelfEntityContext object
    • getSOAP11Context

      public final org.opensaml.soap.messaging.context.SOAP11Context getSOAP11Context()

      getSOAP11Context.

      Returns:
      a SOAP11Context object
    • getSAMLSelfMetadataContext

      public final org.opensaml.saml.common.messaging.context.SAMLMetadataContext getSAMLSelfMetadataContext()

      getSAMLSelfMetadataContext.

      Returns:
      a SAMLMetadataContext object
    • getSAMLPeerMetadataContext

      public final org.opensaml.saml.common.messaging.context.SAMLMetadataContext getSAMLPeerMetadataContext()

      getSAMLPeerMetadataContext.

      Returns:
      a SAMLMetadataContext object
    • getSAMLPeerEntityContext

      public final org.opensaml.saml.common.messaging.context.SAMLPeerEntityContext getSAMLPeerEntityContext()

      getSAMLPeerEntityContext.

      Returns:
      a SAMLPeerEntityContext object
    • getSAMLSubjectNameIdentifierContext

      public final org.opensaml.saml.common.messaging.context.SAMLSubjectNameIdentifierContext getSAMLSubjectNameIdentifierContext()

      getSAMLSubjectNameIdentifierContext.

      Returns:
      a SAMLSubjectNameIdentifierContext object
    • getSAMLPeerEndpointContext

      public final org.opensaml.saml.common.messaging.context.SAMLEndpointContext getSAMLPeerEndpointContext()

      getSAMLPeerEndpointContext.

      Returns:
      a SAMLEndpointContext object
    • getSAMLSelfEndpointContext

      public final org.opensaml.saml.common.messaging.context.SAMLEndpointContext getSAMLSelfEndpointContext()

      getSAMLSelfEndpointContext.

      Returns:
      a SAMLEndpointContext object
    • getSAMLBindingContext

      public final org.opensaml.saml.common.messaging.context.SAMLBindingContext getSAMLBindingContext()

      getSAMLBindingContext.

      Returns:
      a SAMLBindingContext object
    • getSecurityParametersContext

      public final org.opensaml.xmlsec.context.SecurityParametersContext getSecurityParametersContext()

      getSecurityParametersContext.

      Returns:
      a SecurityParametersContext object
    • getSAMLSelfProtocolContext

      public final org.opensaml.saml.common.messaging.context.SAMLProtocolContext getSAMLSelfProtocolContext()

      getSAMLSelfProtocolContext.

      Returns:
      a SAMLProtocolContext object
    • getSAMLProtocolContext

      public final org.opensaml.saml.common.messaging.context.SAMLProtocolContext getSAMLProtocolContext()

      getSAMLProtocolContext.

      Returns:
      a SAMLProtocolContext object
    • getProfileRequestContextOutboundMessageTransportResponse

      public final Pac4jSAMLResponse getProfileRequestContextOutboundMessageTransportResponse()

      getProfileRequestContextOutboundMessageTransportResponse.

      Returns:
      a Pac4jSAMLResponse object
    • getSAMLEndpointContext

      public final org.opensaml.saml.common.messaging.context.SAMLEndpointContext getSAMLEndpointContext()

      getSAMLEndpointContext.

      Returns:
      a SAMLEndpointContext object