Package org.pac4j.saml.sso.artifact
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 Summary
Modifier and TypeFieldDescriptionprotected final SAML2Configuration
protected final SAML2MetadataResolver
protected final ReplayCacheProvider
protected final SAML2SignatureTrustEngineProvider
protected final SignatureSigningParametersProvider
protected final SAML2MetadataResolver
-
Constructor Summary
ConstructorDescriptionDefaultSOAPPipelineFactory
(SAML2Configuration configuration, SAML2MetadataResolver idpMetadataResolver, SAML2MetadataResolver spMetadataResolver, SignatureSigningParametersProvider signingParametersProvider, SAML2SignatureTrustEngineProvider signatureTrustEngineProvider, ReplayCacheProvider replayCache) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
buildSAMLMetadataLookupHandler
(SAML2MetadataResolver metadataResolver) protected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
buildSAMLProtocolAndRoleHandler
(QName roleName) protected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
protected List<org.opensaml.messaging.handler.MessageHandler>
protected List<org.opensaml.messaging.handler.MessageHandler>
protected List<org.opensaml.messaging.handler.MessageHandler>
org.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipeline
org.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipeline
newInstance
(String pipelineName) protected org.opensaml.messaging.handler.impl.BasicMessageHandlerChain
toHandlerChain
(List<org.opensaml.messaging.handler.MessageHandler> handlers)
-
Field Details
-
configuration
-
idpMetadataResolver
-
spMetadataResolver
-
signingParametersProvider
-
signatureTrustEngineProvider
-
replayCache
-
-
Constructor Details
-
DefaultSOAPPipelineFactory
public DefaultSOAPPipelineFactory(SAML2Configuration configuration, SAML2MetadataResolver idpMetadataResolver, SAML2MetadataResolver spMetadataResolver, SignatureSigningParametersProvider signingParametersProvider, SAML2SignatureTrustEngineProvider signatureTrustEngineProvider, ReplayCacheProvider replayCache)
-
-
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 interfaceorg.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipelineFactory
-
newInstance
public org.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipeline newInstance(String pipelineName) - Specified by:
newInstance
in interfaceorg.opensaml.messaging.pipeline.httpclient.HttpClientMessagePipelineFactory
-