public class PopulateSignatureSigningParameters extends AbstractConditionalProfileAction
SignatureSigningParameters on a SecurityParametersContext
created/accessed via a lookup function, by default on the outbound message context.| Constructor and Description |
|---|
PopulateSignatureSigningParameters()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(ProfileRequestContext profileRequestContext)
Performs this action.
|
protected void |
doInitialize() |
protected boolean |
doPreExecute(ProfileRequestContext profileRequestContext)
Called prior to execution, actions may override this method to perform pre-processing for a request.
|
void |
setConfigurationLookupStrategy(com.google.common.base.Function<ProfileRequestContext,List<SignatureSigningConfiguration>> strategy)
Set the strategy used to look up a per-request
SignatureSigningConfiguration list. |
void |
setExistingParametersContextLookupStrategy(com.google.common.base.Function<ProfileRequestContext,SecurityParametersContext> strategy)
Set the strategy used to look up an existing
SecurityParametersContext to copy instead
of actually resolving the parameters to set. |
void |
setMetadataContextLookupStrategy(com.google.common.base.Function<ProfileRequestContext,SAMLMetadataContext> strategy)
Set lookup strategy for
SAMLMetadataContext for input to resolution. |
void |
setSecurityParametersContextLookupStrategy(com.google.common.base.Function<ProfileRequestContext,SecurityParametersContext> strategy)
Set the strategy used to look up the
SecurityParametersContext to set the parameters for. |
void |
setSignatureSigningParametersResolver(SignatureSigningParametersResolver newResolver)
Set the resolver to use for the parameters to store into the context.
|
getActivationCondition, setActivationConditiondoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, initialize, isDestroyed, isInitializedpublic PopulateSignatureSigningParameters()
public void setSecurityParametersContextLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,SecurityParametersContext> strategy)
SecurityParametersContext to set the parameters for.strategy - lookup strategypublic void setExistingParametersContextLookupStrategy(@Nullable com.google.common.base.Function<ProfileRequestContext,SecurityParametersContext> strategy)
SecurityParametersContext to copy instead
of actually resolving the parameters to set.strategy - lookup strategypublic void setMetadataContextLookupStrategy(@Nullable com.google.common.base.Function<ProfileRequestContext,SAMLMetadataContext> strategy)
SAMLMetadataContext for input to resolution.strategy - lookup strategypublic void setConfigurationLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,List<SignatureSigningConfiguration>> strategy)
SignatureSigningConfiguration list.strategy - lookup strategypublic void setSignatureSigningParametersResolver(@Nonnull SignatureSigningParametersResolver newResolver)
newResolver - resolver to useprotected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionprotected boolean doPreExecute(@Nonnull ProfileRequestContext profileRequestContext)
If false is returned, execution will not proceed, and the action should attach an
EventContext to the context tree to signal how to continue with overall
workflow processing.
If returning successfully, the last step should be to return the result of the superclass version of this method.
doPreExecute in class AbstractConditionalProfileActionprofileRequestContext - the current IdP profile request contextprotected void doExecute(@Nonnull ProfileRequestContext profileRequestContext)
doExecute in class AbstractProfileActionprofileRequestContext - the current IdP profile request contextCopyright © 2021. All rights reserved.