public class AddGeneratedKeyToAssertions extends AbstractConditionalProfileAction
GeneratedKey extension to every Assertion in a Response message.
If the containing Advice is not present, it will be created.
The ECPContext to read from is located via lookup strategy, by default beneath the
outbound message context.
| Modifier and Type | Field and Description |
|---|---|
private ECPContext |
ecpContext
ECPContext to read from.
|
private com.google.common.base.Function<ProfileRequestContext,ECPContext> |
ecpContextLookupStrategy
Strategy used to locate the
ECPContext to operate on. |
private Logger |
log
Class logger.
|
private Response |
response
Response to modify.
|
private com.google.common.base.Function<ProfileRequestContext,Response> |
responseLookupStrategy
Strategy used to locate the
Response to operate on. |
| Constructor and Description |
|---|
AddGeneratedKeyToAssertions()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(ProfileRequestContext profileRequestContext) |
protected boolean |
doPreExecute(ProfileRequestContext profileRequestContext) |
void |
setECPContextLookupStrategy(com.google.common.base.Function<ProfileRequestContext,ECPContext> strategy)
Set the strategy used to locate the
ECPContext to operate on. |
void |
setResponseLookupStrategy(com.google.common.base.Function<ProfileRequestContext,Response> strategy)
Set the strategy used to locate the
Response to operate on. |
getActivationCondition, setActivationConditiondoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized@Nonnull private com.google.common.base.Function<ProfileRequestContext,ECPContext> ecpContextLookupStrategy
ECPContext to operate on.@Nonnull private com.google.common.base.Function<ProfileRequestContext,Response> responseLookupStrategy
Response to operate on.@Nullable private ECPContext ecpContext
public void setECPContextLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,ECPContext> strategy)
ECPContext to operate on.strategy - lookup strategypublic void setResponseLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,Response> strategy)
Response to operate on.strategy - lookup strategyprotected boolean doPreExecute(@Nonnull ProfileRequestContext profileRequestContext)
doPreExecute in class AbstractConditionalProfileActionprotected void doExecute(@Nonnull ProfileRequestContext profileRequestContext)
doExecute in class AbstractProfileActionCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.