Class SAMLProcessorFactory
java.lang.Object
org.nuxeo.ecm.platform.auth.saml.processor.SAMLProcessorFactory
- Since:
- 2023.0
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected final org.opensaml.messaging.handler.MessageHandler
Message handlers that run on a SAML inbound message, ie: message from IDP.protected final org.opensaml.messaging.handler.MessageHandler
Message handlers that init the inbound context during SAML outbound message creation, ie: message to IDP.protected final org.opensaml.messaging.handler.MessageHandler
Message handlers that run on a SAML outbound message, ie: message to IDP.protected static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
protected <C extends org.opensaml.saml.common.messaging.context.AbstractSAMLEntityContext>
org.opensaml.messaging.handler.MessageHandlerbuildEntityIdHandler
(String entityId, Class<C> contextClass) Builds handler to populate peer.protected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
buildPopulateDecryptionParametersHandler
(org.opensaml.xmlsec.DecryptionConfiguration decryptionConfiguration) protected org.opensaml.messaging.handler.MessageHandler
buildPopulateSignatureSigningParametersHandler
(org.opensaml.xmlsec.SignatureSigningConfiguration signingConfiguration) protected org.opensaml.messaging.handler.MessageHandler
buildPopulateSignatureValidationParametersHandler
(org.opensaml.xmlsec.SignatureValidationConfiguration validationConfiguration) protected org.opensaml.messaging.handler.MessageHandler
buildSAMLMetadataLookupHandler
(org.opensaml.saml.metadata.resolver.MetadataResolver metadataResolver) protected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.messaging.handler.MessageHandler
buildSAMLProtocolAndRoleHandler
(QName roleName) Builds handler to populate peer.protected org.opensaml.messaging.handler.MessageHandler
protected org.opensaml.xmlsec.DecryptionConfiguration
protected org.opensaml.saml.metadata.resolver.MetadataResolver
instantiateIdpMetadataResolver
(Map<String, String> parameters) protected org.opensaml.xmlsec.SignatureSigningConfiguration
instantiateSigningConfiguration
(Map<String, String> parameters) protected org.opensaml.xmlsec.SignatureValidationConfiguration
instantiateValidationConfiguration
(org.opensaml.saml.metadata.resolver.MetadataResolver idpMetadataResolver) retrieveInboundProcessor
(javax.servlet.http.HttpServletRequest request) retrieveOutboundProcessor
(String profileId) protected org.opensaml.messaging.handler.impl.BasicMessageHandlerChain
toHandlerChain
(List<org.opensaml.messaging.handler.MessageHandler> outboundHandlers)
-
Field Details
-
SIGNATURE_ALGORITHM
- See Also:
-
DIGEST_ALGORITHM
- See Also:
-
inboundHandlerChain
protected final org.opensaml.messaging.handler.MessageHandler inboundHandlerChainMessage handlers that run on a SAML inbound message, ie: message from IDP. -
initInboundForOutboundHandlerChain
protected final org.opensaml.messaging.handler.MessageHandler initInboundForOutboundHandlerChainMessage handlers that init the inbound context during SAML outbound message creation, ie: message to IDP. -
outboundHandlerChain
protected final org.opensaml.messaging.handler.MessageHandler outboundHandlerChainMessage handlers that run on a SAML outbound message, ie: message to IDP.
-
-
Constructor Details
-
SAMLProcessorFactory
-
-
Method Details
-
retrieveInboundProcessor
public Optional<SAMLProcessor> retrieveInboundProcessor(javax.servlet.http.HttpServletRequest request) -
retrieveOutboundProcessor
-
toHandlerChain
protected org.opensaml.messaging.handler.impl.BasicMessageHandlerChain toHandlerChain(List<org.opensaml.messaging.handler.MessageHandler> outboundHandlers) throws net.shibboleth.utilities.java.support.component.ComponentInitializationException - Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
instantiateIdpMetadataResolver
protected org.opensaml.saml.metadata.resolver.MetadataResolver instantiateIdpMetadataResolver(Map<String, String> parameters) throws net.shibboleth.utilities.java.support.component.ComponentInitializationException- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
instantiateSigningConfiguration
-
instantiateValidationConfiguration
protected org.opensaml.xmlsec.SignatureValidationConfiguration instantiateValidationConfiguration(org.opensaml.saml.metadata.resolver.MetadataResolver idpMetadataResolver) throws net.shibboleth.utilities.java.support.component.ComponentInitializationException - Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
instantiateDecryptionConfiguration
protected org.opensaml.xmlsec.DecryptionConfiguration instantiateDecryptionConfiguration() -
buildSAMLProtocolAndRoleHandler
protected org.opensaml.messaging.handler.MessageHandler buildSAMLProtocolAndRoleHandler(QName roleName) throws net.shibboleth.utilities.java.support.component.ComponentInitializationException Builds handler to populate peer.- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
buildEntityIdHandler
protected <C extends org.opensaml.saml.common.messaging.context.AbstractSAMLEntityContext> org.opensaml.messaging.handler.MessageHandler buildEntityIdHandler(String entityId, Class<C> contextClass) throws net.shibboleth.utilities.java.support.component.ComponentInitializationException Builds handler to populate peer.- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
buildSAMLMetadataLookupHandler
protected org.opensaml.messaging.handler.MessageHandler buildSAMLMetadataLookupHandler(org.opensaml.saml.metadata.resolver.MetadataResolver metadataResolver) throws net.shibboleth.utilities.java.support.component.ComponentInitializationException - Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
buildMessageLifetimeSecurityHandler
protected org.opensaml.messaging.handler.MessageHandler buildMessageLifetimeSecurityHandler() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
buildCheckExpectedIssuer
protected org.opensaml.messaging.handler.MessageHandler buildCheckExpectedIssuer() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
buildCheckResponseStatus
protected org.opensaml.messaging.handler.MessageHandler buildCheckResponseStatus() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
buildPopulateSignatureValidationParametersHandler
protected org.opensaml.messaging.handler.MessageHandler buildPopulateSignatureValidationParametersHandler(org.opensaml.xmlsec.SignatureValidationConfiguration validationConfiguration) throws net.shibboleth.utilities.java.support.component.ComponentInitializationException - Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
buildSAMLProtocolMessageXMLSignatureSecurityHandler
protected org.opensaml.messaging.handler.MessageHandler buildSAMLProtocolMessageXMLSignatureSecurityHandler() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
buildCheckMandatoryAuthentication
protected org.opensaml.messaging.handler.MessageHandler buildCheckMandatoryAuthentication() -
buildPopulateDecryptionParametersHandler
protected org.opensaml.messaging.handler.MessageHandler buildPopulateDecryptionParametersHandler(org.opensaml.xmlsec.DecryptionConfiguration decryptionConfiguration) throws net.shibboleth.utilities.java.support.component.ComponentInitializationException - Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
buildPopulateSignatureSigningParametersHandler
protected org.opensaml.messaging.handler.MessageHandler buildPopulateSignatureSigningParametersHandler(org.opensaml.xmlsec.SignatureSigningConfiguration signingConfiguration) throws net.shibboleth.utilities.java.support.component.ComponentInitializationException - Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
buildSAMLOutboundProtocolMessageSigningHandler
protected org.opensaml.messaging.handler.MessageHandler buildSAMLOutboundProtocolMessageSigningHandler() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-