public class EncryptAttributes extends AbstractEncryptAction
Response message obtained from a lookup strategy,
by default the outbound message context.| 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)
Performs this action.
|
protected boolean |
doPreExecute(ProfileRequestContext profileRequestContext)
Called prior to execution, actions may override this method to perform pre-processing for a request.
|
protected 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, setKeyPlacementLookupStrategy, setRecipientLookupStrategygetActivationCondition, setActivationConditiondoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, 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.@Nullable private Response response
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 EncryptionParameters getApplicableParameters(@Nullable EncryptionContext ctx)
getApplicableParameters in class AbstractEncryptActionctx - possibly null input context to pull parameters fromprotected 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 AbstractEncryptActionprofileRequestContext - the current IdP profile request contextprotected void doExecute(@Nonnull
ProfileRequestContext profileRequestContext)
doExecute in class AbstractProfileActionprofileRequestContext - the current IdP profile request context