Class UrlResolvedSAML2ContextProvider

  • All Implemented Interfaces:
    org.pac4j.saml.context.SAMLContextProvider

    public class UrlResolvedSAML2ContextProvider
    extends org.pac4j.saml.context.SAML2ContextProvider
    Extension of the default SAML2ContextProvider that provides UrlResolvedSAML2MessageContext contexts instead.
    Since:
    8.0.0
    Author:
    XIMA MEDIA GmbH, Dresden
    • Field Summary

      • Fields inherited from class org.pac4j.saml.context.SAML2ContextProvider

        idpEntityId, logger, samlMessageStoreFactory, spEntityId
    • Constructor Summary

      Constructors 
      Constructor Description
      UrlResolvedSAML2ContextProvider​(org.pac4j.saml.metadata.SAML2MetadataResolver idpEntityId, org.pac4j.saml.metadata.SAML2MetadataResolver spEntityId, org.pac4j.saml.store.SAMLMessageStoreFactory samlMessageStoreFactory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.pac4j.saml.context.SAML2MessageContext buildContext​(org.pac4j.saml.client.SAML2Client client, org.pac4j.core.context.WebContext webContext, org.pac4j.core.context.session.SessionStore sessionStore)  
      • Methods inherited from class org.pac4j.saml.context.SAML2ContextProvider

        addContext, addIDPContext, addSPContext, addTransportContext, buildServiceProviderContext, prepareOutboundMessageContext
    • Constructor Detail

      • UrlResolvedSAML2ContextProvider

        public UrlResolvedSAML2ContextProvider​(org.pac4j.saml.metadata.SAML2MetadataResolver idpEntityId,
                                               org.pac4j.saml.metadata.SAML2MetadataResolver spEntityId,
                                               org.pac4j.saml.store.SAMLMessageStoreFactory samlMessageStoreFactory)
    • Method Detail

      • buildContext

        public org.pac4j.saml.context.SAML2MessageContext buildContext​(org.pac4j.saml.client.SAML2Client client,
                                                                       org.pac4j.core.context.WebContext webContext,
                                                                       org.pac4j.core.context.session.SessionStore sessionStore)
        Specified by:
        buildContext in interface org.pac4j.saml.context.SAMLContextProvider
        Overrides:
        buildContext in class org.pac4j.saml.context.SAML2ContextProvider