public class PopulateSignatureSigningParameters extends AbstractConditionalProfileAction
SignatureSigningParameters on a SecurityParametersContext
created/accessed via a lookup function, by default on the outbound message context.| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Function<ProfileRequestContext,java.util.List<SignatureSigningConfiguration>> |
configurationLookupStrategy
Strategy used to look up a per-request
SignatureSigningConfiguration list. |
private com.google.common.base.Function<ProfileRequestContext,SecurityParametersContext> |
existingParametersContextLookupStrategy
Strategy used to look up an existing
SecurityParametersContext to copy. |
private org.slf4j.Logger |
log
Class logger.
|
private com.google.common.base.Function<ProfileRequestContext,SAMLMetadataContext> |
metadataContextLookupStrategy
Strategy used to look up a SAML metadata context.
|
private SignatureSigningParametersResolver |
resolver
Resolver for parameters to store into context.
|
private com.google.common.base.Function<ProfileRequestContext,SecurityParametersContext> |
securityParametersContextLookupStrategy
Strategy used to look up the
SecurityParametersContext to set the parameters for. |
| 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,java.util.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, isInitialized@Nonnull private final org.slf4j.Logger log
@Nonnull private com.google.common.base.Function<ProfileRequestContext,SecurityParametersContext> securityParametersContextLookupStrategy
SecurityParametersContext to set the parameters for.@Nullable private com.google.common.base.Function<ProfileRequestContext,SecurityParametersContext> existingParametersContextLookupStrategy
SecurityParametersContext to copy.@NonnullAfterInit private com.google.common.base.Function<ProfileRequestContext,java.util.List<SignatureSigningConfiguration>> configurationLookupStrategy
SignatureSigningConfiguration list.@Nullable private com.google.common.base.Function<ProfileRequestContext,SAMLMetadataContext> metadataContextLookupStrategy
@NonnullAfterInit private SignatureSigningParametersResolver resolver
public 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,java.util.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 context