Class DefaultSOAPPipelineFactory

  • All Implemented Interfaces:
    org.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipelineFactory<org.opensaml.saml.common.SAMLObject,​org.opensaml.saml.common.SAMLObject>

    public class DefaultSOAPPipelineFactory
    extends Object
    implements org.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipelineFactory<org.opensaml.saml.common.SAMLObject,​org.opensaml.saml.common.SAMLObject>
    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
    • Method Detail

      • getInboundHandlers

        protected List<org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject>> getInboundHandlers()
                                                                                                                       throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • getOutboundPayloadHandlers

        protected List<org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject>> getOutboundPayloadHandlers()
                                                                                                                               throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • getOutboundTransportHandlers

        protected List<org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject>> getOutboundTransportHandlers()
                                                                                                                                 throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • buildSAMLProtocolAndRoleHandler

        protected org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> buildSAMLProtocolAndRoleHandler​(QName roleName)
                                                                                                                              throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • buildSAMLMetadataLookupHandler

        protected org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> buildSAMLMetadataLookupHandler​(SAML2MetadataResolver metadataResolver)
                                                                                                                             throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • buildSchemaValidateXMLMessage

        protected org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> buildSchemaValidateXMLMessage()
                                                                                                                            throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • buildCheckMessageVersionHandler

        protected org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> buildCheckMessageVersionHandler()
                                                                                                                              throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • buildMessageLifetimeSecurityHandler

        protected org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> buildMessageLifetimeSecurityHandler()
                                                                                                                                  throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • buildInResponseToSecurityHandler

        protected org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> buildInResponseToSecurityHandler()
                                                                                                                               throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • buildMessageReplaySecurityHandler

        protected org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> buildMessageReplaySecurityHandler()
                                                                                                                                throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • buildCheckMandatoryIssuer

        protected org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> buildCheckMandatoryIssuer()
                                                                                                                        throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • buildCheckExpectedIssuer

        protected org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> buildCheckExpectedIssuer()
                                                                                                                       throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • buildPopulateSignatureSigningParametersHandler

        protected org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> buildPopulateSignatureSigningParametersHandler()
                                                                                                                                             throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • buildPopulateSignatureValidationParametersHandler

        protected org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> buildPopulateSignatureValidationParametersHandler()
                                                                                                                                                throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • buildSAMLProtocolMessageXMLSignatureSecurityHandler

        protected org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> buildSAMLProtocolMessageXMLSignatureSecurityHandler()
                                                                                                                                                  throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • buildCheckAndRecordServerTLSEntityAuthenticationtHandler

        protected org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> buildCheckAndRecordServerTLSEntityAuthenticationtHandler()
                                                                                                                                                       throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • buildCheckMandatoryAuthentication

        protected org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> buildCheckMandatoryAuthentication()
      • buildSAMLSOAPDecoderBodyHandler

        protected org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> buildSAMLSOAPDecoderBodyHandler()
                                                                                                                              throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • buildSAMLOutboundProtocolMessageSigningHandler

        protected org.opensaml.messaging.handler.MessageHandler<org.opensaml.saml.common.SAMLObject> buildSAMLOutboundProtocolMessageSigningHandler()
                                                                                                                                             throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • toHandlerChain

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

        @Nonnull
        public org.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipeline<org.opensaml.saml.common.SAMLObject,​org.opensaml.saml.common.SAMLObject> newInstance()
        Specified by:
        newInstance in interface org.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipelineFactory<org.opensaml.saml.common.SAMLObject,​org.opensaml.saml.common.SAMLObject>
      • newInstance

        @Nonnull
        public org.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipeline<org.opensaml.saml.common.SAMLObject,​org.opensaml.saml.common.SAMLObject> newInstance​(@Nullable
                                                                                                                                                                               String pipelineName)
        Specified by:
        newInstance in interface org.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipelineFactory<org.opensaml.saml.common.SAMLObject,​org.opensaml.saml.common.SAMLObject>