Package org.opensaml.profile.action.impl
Class PopulateSignatureValidationParameters
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.profile.action.AbstractProfileAction
org.opensaml.profile.action.AbstractConditionalProfileAction
org.opensaml.profile.action.AbstractHandlerDelegatingProfileAction<PopulateSignatureValidationParametersHandler>
org.opensaml.profile.action.impl.PopulateSignatureValidationParameters
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction
public class PopulateSignatureValidationParameters
extends AbstractHandlerDelegatingProfileAction<PopulateSignatureValidationParametersHandler>
Action that resolves and populates
SignatureValidationParameters on a SecurityParametersContext
created/accessed via a lookup function, by default on the inbound message context.-
Field Summary
FieldsModifier and TypeFieldDescriptionStrategy used to lookup a per-requestSignatureValidationConfigurationlist.Resolver for parameters to store into context.Strategy used to look up theSecurityParametersContextto set the parameters for. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidsetConfigurationLookupStrategy(Function<ProfileRequestContext, List<SignatureValidationConfiguration>> strategy) Set the strategy used to look up a per-requestSignatureValidationConfigurationlist.voidsetSecurityParametersContextLookupStrategy(Function<ProfileRequestContext, SecurityParametersContext> strategy) Set the strategy used to look up theSecurityParametersContextto set the parameters for.voidSet the resolver to use for the parameters to store into the context.Methods inherited from class org.opensaml.profile.action.AbstractHandlerDelegatingProfileAction
adapt, adapt, adaptRequired, doDestroy, doExecute, getDelegate, setErrorEventMethods inherited from class org.opensaml.profile.action.AbstractConditionalProfileAction
doPreExecute, getActivationCondition, setActivationConditionMethods inherited from class org.opensaml.profile.action.AbstractProfileAction
doPostExecute, doPostExecute, ensureHttpServletRequest, ensureHttpServletResponse, execute, getHttpServletRequest, getHttpServletRequestSupplier, getHttpServletResponse, getHttpServletResponseSupplier, getLogPrefix, isPreExecuteCalled, setHttpServletRequestSupplier, setHttpServletResponseSupplierMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
securityParametersContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,SecurityParametersContext> securityParametersContextLookupStrategyStrategy used to look up theSecurityParametersContextto set the parameters for. -
configurationLookupStrategy
@NonnullAfterInit private Function<ProfileRequestContext,List<SignatureValidationConfiguration>> configurationLookupStrategyStrategy used to lookup a per-requestSignatureValidationConfigurationlist. -
resolver
Resolver for parameters to store into context.
-
-
Constructor Details
-
PopulateSignatureValidationParameters
public PopulateSignatureValidationParameters()Constructor.
-
-
Method Details
-
setSecurityParametersContextLookupStrategy
public void setSecurityParametersContextLookupStrategy(@Nonnull Function<ProfileRequestContext, SecurityParametersContext> strategy) Set the strategy used to look up theSecurityParametersContextto set the parameters for.- Parameters:
strategy- lookup strategy
-
setConfigurationLookupStrategy
public void setConfigurationLookupStrategy(@Nonnull Function<ProfileRequestContext, List<SignatureValidationConfiguration>> strategy) Set the strategy used to look up a per-requestSignatureValidationConfigurationlist.- Parameters:
strategy- lookup strategy
-
setSignatureValidationParametersResolver
public void setSignatureValidationParametersResolver(@Nonnull SignatureValidationParametersResolver newResolver) Set the resolver to use for the parameters to store into the context.- Parameters:
newResolver- resolver to use
-
doInitialize
- Overrides:
doInitializein classAbstractInitializableComponent- Throws:
ComponentInitializationException
-