public class PopulateDecryptionParameters extends AbstractConditionalProfileAction
DecryptionParameters on a SecurityParametersContext
created/accessed via a lookup function, by default on the inbound message context.| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Function<ProfileRequestContext,List<DecryptionConfiguration>> |
configurationLookupStrategy
Strategy used to lookup a per-request
DecryptionConfiguration list. |
private org.slf4j.Logger |
log
Class logger.
|
private DecryptionParametersResolver |
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 |
|---|
PopulateDecryptionParameters()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(ProfileRequestContext profileRequestContext) |
protected void |
doInitialize() |
void |
setConfigurationLookupStrategy(com.google.common.base.Function<ProfileRequestContext,List<DecryptionConfiguration>> strategy)
Set the strategy used to look up a per-request
DecryptionConfiguration list. |
void |
setDecryptionParametersResolver(DecryptionParametersResolver newResolver)
Set the resolver to use for the parameters to store into the context.
|
void |
setSecurityParametersContextLookupStrategy(com.google.common.base.Function<ProfileRequestContext,SecurityParametersContext> strategy)
Set the strategy used to look up the
SecurityParametersContext to set the parameters for. |
doPreExecute, 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 com.google.common.base.Function<ProfileRequestContext,SecurityParametersContext> securityParametersContextLookupStrategy
SecurityParametersContext to set the parameters for.@NonnullAfterInit private com.google.common.base.Function<ProfileRequestContext,List<DecryptionConfiguration>> configurationLookupStrategy
DecryptionConfiguration list.@NonnullAfterInit private DecryptionParametersResolver resolver
public void setSecurityParametersContextLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,SecurityParametersContext> strategy)
SecurityParametersContext to set the parameters for.strategy - lookup strategypublic void setConfigurationLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,List<DecryptionConfiguration>> strategy)
DecryptionConfiguration list.strategy - lookup strategypublic void setDecryptionParametersResolver(@Nonnull DecryptionParametersResolver newResolver)
newResolver - resolver to useprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractInitializableComponentComponentInitializationExceptionprotected void doExecute(@Nonnull ProfileRequestContext profileRequestContext)
doExecute in class AbstractProfileActionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.