Class DefaultSOAPPipelineFactory

java.lang.Object
org.pac4j.saml.sso.artifact.DefaultSOAPPipelineFactory
All Implemented Interfaces:
org.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipelineFactory

public class DefaultSOAPPipelineFactory extends Object implements org.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipelineFactory
A default implementation of the pipeline factory, which enforces the rules set by the web SSO profile. To add additional handlers, you can override getInboundHandlers(), getOutboundPayloadHandlers() and/or getOutboundTransportHandlers(). To modify the configuration of a specific handler, override the build method for that handler.
Since:
3.8.0
  • Field Details

  • Constructor Details

  • Method Details

    • getInboundHandlers

      protected List<org.opensaml.messaging.handler.MessageHandler> getInboundHandlers() throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • getOutboundPayloadHandlers

      protected List<org.opensaml.messaging.handler.MessageHandler> getOutboundPayloadHandlers() throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • getOutboundTransportHandlers

      protected List<org.opensaml.messaging.handler.MessageHandler> getOutboundTransportHandlers() throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • buildSAMLProtocolAndRoleHandler

      protected org.opensaml.messaging.handler.MessageHandler buildSAMLProtocolAndRoleHandler(QName roleName) throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • buildSAMLMetadataLookupHandler

      protected org.opensaml.messaging.handler.MessageHandler buildSAMLMetadataLookupHandler(SAML2MetadataResolver metadataResolver) throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • buildSchemaValidateXMLMessage

      protected org.opensaml.messaging.handler.MessageHandler buildSchemaValidateXMLMessage() throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • buildCheckMessageVersionHandler

      protected org.opensaml.messaging.handler.MessageHandler buildCheckMessageVersionHandler() throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • buildMessageLifetimeSecurityHandler

      protected org.opensaml.messaging.handler.MessageHandler buildMessageLifetimeSecurityHandler() throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • buildInResponseToSecurityHandler

      protected org.opensaml.messaging.handler.MessageHandler buildInResponseToSecurityHandler() throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • buildMessageReplaySecurityHandler

      protected org.opensaml.messaging.handler.MessageHandler buildMessageReplaySecurityHandler() throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • buildCheckMandatoryIssuer

      protected org.opensaml.messaging.handler.MessageHandler buildCheckMandatoryIssuer() throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • buildCheckExpectedIssuer

      protected org.opensaml.messaging.handler.MessageHandler buildCheckExpectedIssuer() throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • buildPopulateSignatureSigningParametersHandler

      protected org.opensaml.messaging.handler.MessageHandler buildPopulateSignatureSigningParametersHandler() throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • buildPopulateSignatureValidationParametersHandler

      protected org.opensaml.messaging.handler.MessageHandler buildPopulateSignatureValidationParametersHandler() throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • buildSAMLProtocolMessageXMLSignatureSecurityHandler

      protected org.opensaml.messaging.handler.MessageHandler buildSAMLProtocolMessageXMLSignatureSecurityHandler() throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • buildCheckAndRecordServerTLSEntityAuthenticationtHandler

      protected org.opensaml.messaging.handler.MessageHandler buildCheckAndRecordServerTLSEntityAuthenticationtHandler() throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • buildCheckMandatoryAuthentication

      protected org.opensaml.messaging.handler.MessageHandler buildCheckMandatoryAuthentication()
    • buildSAMLSOAPDecoderBodyHandler

      protected org.opensaml.messaging.handler.MessageHandler buildSAMLSOAPDecoderBodyHandler() throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • buildSAMLOutboundProtocolMessageSigningHandler

      protected org.opensaml.messaging.handler.MessageHandler buildSAMLOutboundProtocolMessageSigningHandler() throws net.shibboleth.shared.component.ComponentInitializationException
      Throws:
      net.shibboleth.shared.component.ComponentInitializationException
    • toHandlerChain

      protected org.opensaml.messaging.handler.impl.BasicMessageHandlerChain toHandlerChain(List<org.opensaml.messaging.handler.MessageHandler> handlers)
    • newInstance

      public org.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipeline newInstance()
      Specified by:
      newInstance in interface org.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipelineFactory
    • newInstance

      public org.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipeline newInstance(String pipelineName)
      Specified by:
      newInstance in interface org.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipelineFactory