Class PopulateDecryptionParametersHandler
java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
org.opensaml.messaging.handler.AbstractMessageHandler
org.nuxeo.ecm.platform.auth.saml.processor.handler.PopulateDecryptionParametersHandler
- All Implemented Interfaces:
net.shibboleth.utilities.java.support.component.Component
,net.shibboleth.utilities.java.support.component.DestructableComponent
,net.shibboleth.utilities.java.support.component.InitializableComponent
,org.opensaml.messaging.handler.MessageHandler
public class PopulateDecryptionParametersHandler
extends org.opensaml.messaging.handler.AbstractMessageHandler
- Since:
- 2023.0
-
Field Summary
Modifier and TypeFieldDescriptionprotected Function<org.opensaml.messaging.context.MessageContext,
List<org.opensaml.xmlsec.DecryptionConfiguration>> Strategy used to lookup a per-requestDecryptionConfiguration
list.protected org.opensaml.xmlsec.DecryptionParametersResolver
Resolver for parameters to store into context.protected Function<org.opensaml.messaging.context.MessageContext,
org.opensaml.xmlsec.context.SecurityParametersContext> Strategy used to look up theSecurityParametersContext
to set the parameters for. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
doInvoke
(org.opensaml.messaging.context.MessageContext messageContext) void
setConfigurationLookupStrategy
(Function<org.opensaml.messaging.context.MessageContext, List<org.opensaml.xmlsec.DecryptionConfiguration>> strategy) Set the strategy used to look up a per-requestDecryptionConfiguration
list.void
setDecryptionParametersResolver
(org.opensaml.xmlsec.DecryptionParametersResolver newResolver) Set the resolver to use for the parameters to store into the context.void
setSecurityParametersContextLookupStrategy
(Function<org.opensaml.messaging.context.MessageContext, org.opensaml.xmlsec.context.SecurityParametersContext> strategy) Set the strategy used to look up theSecurityParametersContext
to set the parameters for.Methods inherited from class org.opensaml.messaging.handler.AbstractMessageHandler
doPostInvoke, doPostInvoke, doPreInvoke, getActivationCondition, getLogPrefix, invoke, setActivationCondition
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitialized
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
securityParametersContextLookupStrategy
protected Function<org.opensaml.messaging.context.MessageContext,org.opensaml.xmlsec.context.SecurityParametersContext> securityParametersContextLookupStrategyStrategy used to look up theSecurityParametersContext
to set the parameters for. -
configurationLookupStrategy
protected Function<org.opensaml.messaging.context.MessageContext,List<org.opensaml.xmlsec.DecryptionConfiguration>> configurationLookupStrategyStrategy used to lookup a per-requestDecryptionConfiguration
list. -
resolver
protected org.opensaml.xmlsec.DecryptionParametersResolver resolverResolver for parameters to store into context.
-
-
Constructor Details
-
PopulateDecryptionParametersHandler
public PopulateDecryptionParametersHandler()Constructor.
-
-
Method Details
-
setSecurityParametersContextLookupStrategy
public void setSecurityParametersContextLookupStrategy(Function<org.opensaml.messaging.context.MessageContext, org.opensaml.xmlsec.context.SecurityParametersContext> strategy) Set the strategy used to look up theSecurityParametersContext
to set the parameters for.- Parameters:
strategy
- lookup strategy
-
setConfigurationLookupStrategy
public void setConfigurationLookupStrategy(Function<org.opensaml.messaging.context.MessageContext, List<org.opensaml.xmlsec.DecryptionConfiguration>> strategy) Set the strategy used to look up a per-requestDecryptionConfiguration
list.- Parameters:
strategy
- lookup strategy
-
setDecryptionParametersResolver
public void setDecryptionParametersResolver(org.opensaml.xmlsec.DecryptionParametersResolver newResolver) Set the resolver to use for the parameters to store into the context.- Parameters:
newResolver
- resolver to use
-
doInitialize
protected void doInitialize() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException- Overrides:
doInitialize
in classnet.shibboleth.utilities.java.support.component.AbstractInitializableComponent
- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
doInvoke
protected void doInvoke(org.opensaml.messaging.context.MessageContext messageContext) throws org.opensaml.messaging.handler.MessageHandlerException - Specified by:
doInvoke
in classorg.opensaml.messaging.handler.AbstractMessageHandler
- Throws:
org.opensaml.messaging.handler.MessageHandlerException
-