InboundMessageType - type of in-bound messageOutboundMessageType - type of out-bound messagepublic abstract class AbstractProfileInterceptorAction<InboundMessageType,OutboundMessageType> extends AbstractProfileAction<InboundMessageType,OutboundMessageType>
AbstractProfileAction, this action also looks up and makes available the
ProfileInterceptorContext.
Interceptor action implementations should override
doExecute(ProfileRequestContext, ProfileInterceptorContext)| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Function<ProfileRequestContext,ProfileInterceptorContext> |
interceptorContextlookupStrategy
Strategy used to find the
ProfileInterceptorContext from the ProfileRequestContext. |
private org.slf4j.Logger |
log
Class logger.
|
private ProfileInterceptorContext |
profileInterceptorContext
The
ProfileInterceptorContext to operate on. |
| Constructor and Description |
|---|
AbstractProfileInterceptorAction()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext) |
protected void |
doExecute(ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext,
ProfileInterceptorContext interceptorContext)
Performs this profile interceptor action.
|
protected boolean |
doPreExecute(ProfileRequestContext profileRequestContext) |
protected boolean |
doPreExecute(ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext,
ProfileInterceptorContext interceptorContext)
Performs this profile interceptor action's pre-execute step.
|
void |
setLookupStrategy(com.google.common.base.Function<ProfileRequestContext,ProfileInterceptorContext> strategy)
Set the context lookup strategy for
ProfileInterceptorContext. |
doExecute, execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategygetActivationCondition, setActivationConditiondoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, doInitialize, 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,ProfileInterceptorContext> interceptorContextlookupStrategy
ProfileInterceptorContext from the ProfileRequestContext.@Nullable private ProfileInterceptorContext profileInterceptorContext
ProfileInterceptorContext to operate on.public AbstractProfileInterceptorAction()
public void setLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,ProfileInterceptorContext> strategy)
ProfileInterceptorContext.strategy - lookup strategy functionprotected boolean doPreExecute(@Nonnull ProfileRequestContext profileRequestContext)
doPreExecute in class AbstractConditionalProfileAction<InboundMessageType,OutboundMessageType>protected boolean doPreExecute(@Nonnull ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext, @Nonnull ProfileInterceptorContext interceptorContext)
profileRequestContext - the current profile request contextinterceptorContext - the current profile interceptor contextprotected final void doExecute(@Nonnull ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext)
doExecute in class AbstractProfileAction<InboundMessageType,OutboundMessageType>protected void doExecute(@Nonnull ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext, @Nonnull ProfileInterceptorContext interceptorContext)
profileRequestContext - the current profile request contextinterceptorContext - the current profile interceptor contextCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.