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 Function<ProfileRequestContext,List<org.opensaml.xmlsec.SignatureSigningConfiguration>> |
configurationLookupStrategy
Strategy used to look up a per-request
SignatureSigningConfiguration list. |
private Function<ProfileRequestContext,org.opensaml.xmlsec.context.SecurityParametersContext> |
existingParametersContextLookupStrategy
Strategy used to look up an existing
SecurityParametersContext to copy. |
private org.slf4j.Logger |
log
Class logger.
|
private Function<ProfileRequestContext,SAMLMetadataContext> |
metadataContextLookupStrategy
Strategy used to look up a SAML metadata context.
|
private org.opensaml.xmlsec.SignatureSigningParametersResolver |
resolver
Resolver for parameters to store into context.
|
private Function<ProfileRequestContext,org.opensaml.xmlsec.context.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) |
protected void |
doInitialize() |
protected boolean |
doPreExecute(ProfileRequestContext profileRequestContext) |
void |
setConfigurationLookupStrategy(Function<ProfileRequestContext,List<org.opensaml.xmlsec.SignatureSigningConfiguration>> strategy)
Set the strategy used to look up a per-request
SignatureSigningConfiguration list. |
void |
setExistingParametersContextLookupStrategy(Function<ProfileRequestContext,org.opensaml.xmlsec.context.SecurityParametersContext> strategy)
Set the strategy used to look up an existing
SecurityParametersContext to copy instead
of actually resolving the parameters to set. |
void |
setMetadataContextLookupStrategy(Function<ProfileRequestContext,SAMLMetadataContext> strategy)
Set lookup strategy for
SAMLMetadataContext for input to resolution. |
void |
setSecurityParametersContextLookupStrategy(Function<ProfileRequestContext,org.opensaml.xmlsec.context.SecurityParametersContext> strategy)
Set the strategy used to look up the
SecurityParametersContext to set the parameters for. |
void |
setSignatureSigningParametersResolver(org.opensaml.xmlsec.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, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitialized@Nonnull private final org.slf4j.Logger log
@Nonnull private Function<ProfileRequestContext,org.opensaml.xmlsec.context.SecurityParametersContext> securityParametersContextLookupStrategy
SecurityParametersContext to set the parameters for.@Nullable private Function<ProfileRequestContext,org.opensaml.xmlsec.context.SecurityParametersContext> existingParametersContextLookupStrategy
SecurityParametersContext to copy.@NonnullAfterInit private Function<ProfileRequestContext,List<org.opensaml.xmlsec.SignatureSigningConfiguration>> configurationLookupStrategy
SignatureSigningConfiguration list.@Nullable private Function<ProfileRequestContext,SAMLMetadataContext> metadataContextLookupStrategy
@NonnullAfterInit private org.opensaml.xmlsec.SignatureSigningParametersResolver resolver
public PopulateSignatureSigningParameters()
public void setSecurityParametersContextLookupStrategy(@Nonnull Function<ProfileRequestContext,org.opensaml.xmlsec.context.SecurityParametersContext> strategy)
SecurityParametersContext to set the parameters for.strategy - lookup strategypublic void setExistingParametersContextLookupStrategy(@Nullable Function<ProfileRequestContext,org.opensaml.xmlsec.context.SecurityParametersContext> strategy)
SecurityParametersContext to copy instead
of actually resolving the parameters to set.strategy - lookup strategypublic void setMetadataContextLookupStrategy(@Nullable Function<ProfileRequestContext,SAMLMetadataContext> strategy)
SAMLMetadataContext for input to resolution.strategy - lookup strategypublic void setConfigurationLookupStrategy(@Nonnull Function<ProfileRequestContext,List<org.opensaml.xmlsec.SignatureSigningConfiguration>> strategy)
SignatureSigningConfiguration list.strategy - lookup strategypublic void setSignatureSigningParametersResolver(@Nonnull org.opensaml.xmlsec.SignatureSigningParametersResolver newResolver)
newResolver - resolver to useprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractInitializableComponentComponentInitializationExceptionprotected boolean doPreExecute(@Nonnull ProfileRequestContext profileRequestContext)
doPreExecute in class AbstractConditionalProfileActionprotected void doExecute(@Nonnull ProfileRequestContext profileRequestContext)
doExecute in class AbstractProfileActionCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.