public class EncryptAttributes extends AbstractEncryptAction
Response
message obtained from a lookup strategy,
by default the outbound message context.EventIds.PROCEED_EVENT_ID
, EventIds.UNABLE_TO_ENCRYPT
Modifier and Type | Field and Description |
---|---|
private org.slf4j.Logger |
log
Class logger.
|
private Response |
response
The message to operate on.
|
private com.google.common.base.Function<ProfileRequestContext,StatusResponseType> |
responseLookupStrategy
Strategy used to locate the
StatusResponseType to operate on. |
Constructor and Description |
---|
EncryptAttributes()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute(ProfileRequestContext profileRequestContext) |
protected boolean |
doPreExecute(ProfileRequestContext profileRequestContext) |
protected org.opensaml.xmlsec.EncryptionParameters |
getApplicableParameters(EncryptionContext ctx)
Return the right set of parameters for the operation to be performed, or none if no encryption should occur.
|
void |
setResponseLookupStrategy(com.google.common.base.Function<ProfileRequestContext,StatusResponseType> strategy)
Set the strategy used to locate the
Response to operate on. |
getEncrypter, setEncryptionContextLookupStrategy, setEncryptToSelf, setEncryptToSelfParametersStrategy, setKeyPlacementLookupStrategy, setRecipientLookupStrategy, setSelfRecipientLookupStrategy
getActivationCondition, setActivationCondition
doPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponse
destroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized
@Nonnull private final org.slf4j.Logger log
@Nonnull private com.google.common.base.Function<ProfileRequestContext,StatusResponseType> responseLookupStrategy
StatusResponseType
to operate on.public void setResponseLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,StatusResponseType> strategy)
Response
to operate on.strategy
- strategy used to locate the Response
to operate on@Nullable protected org.opensaml.xmlsec.EncryptionParameters getApplicableParameters(@Nullable EncryptionContext ctx)
getApplicableParameters
in class AbstractEncryptAction
ctx
- possibly null input context to pull parameters fromprotected boolean doPreExecute(@Nonnull ProfileRequestContext profileRequestContext)
doPreExecute
in class AbstractEncryptAction
protected void doExecute(@Nonnull ProfileRequestContext profileRequestContext)
doExecute
in class AbstractProfileAction
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.