public class PopulateSignatureSigningParameters extends AbstractHandlerDelegatingProfileAction<PopulateSignatureSigningParametersHandler>
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,List<org.opensaml.xmlsec.SignatureSigningConfiguration>> |
configurationLookupStrategy
Strategy used to look up a per-request
SignatureSigningConfiguration list. |
private com.google.common.base.Function<ProfileRequestContext,org.opensaml.xmlsec.context.SecurityParametersContext> |
existingParametersContextLookupStrategy
Strategy used to look up an existing
SecurityParametersContext to copy. |
private Logger |
log
Class logger.
|
private com.google.common.base.Function<ProfileRequestContext,SAMLMetadataContext> |
metadataContextLookupStrategy
Strategy used to look up a SAML metadata context.
|
private boolean |
noResultIsError
Whether failure to resolve parameters should be raised as an error.
|
private org.opensaml.xmlsec.SignatureSigningParametersResolver |
resolver
Resolver for parameters to store into context.
|
private com.google.common.base.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 |
doInitialize() |
protected boolean |
doPreExecute(ProfileRequestContext profileRequestContext) |
void |
setConfigurationLookupStrategy(com.google.common.base.Function<ProfileRequestContext,List<org.opensaml.xmlsec.SignatureSigningConfiguration>> strategy)
Set the strategy used to look up a per-request
SignatureSigningConfiguration list. |
void |
setExistingParametersContextLookupStrategy(com.google.common.base.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(com.google.common.base.Function<ProfileRequestContext,SAMLMetadataContext> strategy)
Set lookup strategy for
SAMLMetadataContext for input to resolution. |
void |
setNoResultIsError(boolean flag)
Set whether a failure to resolve any parameters should be raised as an exception.
|
void |
setSecurityParametersContextLookupStrategy(com.google.common.base.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.
|
adapt, adapt, doDestroy, doExecute, getDelegate, setErrorEventgetActivationCondition, setActivationConditiondoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, initialize, isDestroyed, isInitialized@Nonnull private com.google.common.base.Function<ProfileRequestContext,org.opensaml.xmlsec.context.SecurityParametersContext> securityParametersContextLookupStrategy
SecurityParametersContext to set the parameters for.@Nullable private com.google.common.base.Function<ProfileRequestContext,org.opensaml.xmlsec.context.SecurityParametersContext> existingParametersContextLookupStrategy
SecurityParametersContext to copy.@NonnullAfterInit private com.google.common.base.Function<ProfileRequestContext,List<org.opensaml.xmlsec.SignatureSigningConfiguration>> configurationLookupStrategy
SignatureSigningConfiguration list.@Nullable private com.google.common.base.Function<ProfileRequestContext,SAMLMetadataContext> metadataContextLookupStrategy
@NonnullAfterInit private org.opensaml.xmlsec.SignatureSigningParametersResolver resolver
private boolean noResultIsError
public PopulateSignatureSigningParameters()
public void setSecurityParametersContextLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,org.opensaml.xmlsec.context.SecurityParametersContext> strategy)
SecurityParametersContext to set the parameters for.strategy - lookup strategypublic void setExistingParametersContextLookupStrategy(@Nullable com.google.common.base.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 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<org.opensaml.xmlsec.SignatureSigningConfiguration>> strategy)
SignatureSigningConfiguration list.strategy - lookup strategypublic void setSignatureSigningParametersResolver(@Nonnull org.opensaml.xmlsec.SignatureSigningParametersResolver newResolver)
newResolver - resolver to usepublic void setNoResultIsError(boolean flag)
Defaults to false.
flag - flag to setprotected 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)
doPreExecute in class AbstractConditionalProfileActionCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.