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<org.opensaml.profile.context.ProfileRequestContext,ProfileInterceptorContext> |
interceptorContextlookupStrategy
Strategy used to find the
ProfileInterceptorContext from the ProfileRequestContext. |
private 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(org.opensaml.profile.context.ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext) |
protected void |
doExecute(org.opensaml.profile.context.ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext,
ProfileInterceptorContext interceptorContext)
Performs this profile interceptor action.
|
protected boolean |
doPreExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) |
protected boolean |
doPreExecute(org.opensaml.profile.context.ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext,
ProfileInterceptorContext interceptorContext)
Performs this profile interceptor action's pre-execute step.
|
void |
setLookupStrategy(com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,ProfileInterceptorContext> strategy)
Set the context lookup strategy for
ProfileInterceptorContext. |
doExecute, execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getResult, setMessageSource, setProfileContextLookupStrategygetActivationCondition, setActivationConditiondoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized@Nonnull private com.google.common.base.Function<org.opensaml.profile.context.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<org.opensaml.profile.context.ProfileRequestContext,ProfileInterceptorContext> strategy)
ProfileInterceptorContext.strategy - lookup strategy functionprotected boolean doPreExecute(@Nonnull org.opensaml.profile.context.ProfileRequestContext profileRequestContext)
doPreExecute in class org.opensaml.profile.action.AbstractConditionalProfileAction<InboundMessageType,OutboundMessageType>protected boolean doPreExecute(@Nonnull org.opensaml.profile.context.ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext, @Nonnull ProfileInterceptorContext interceptorContext)
profileRequestContext - the current profile request contextinterceptorContext - the current profile interceptor contextprotected final void doExecute(@Nonnull org.opensaml.profile.context.ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext)
doExecute in class org.opensaml.profile.action.AbstractProfileAction<InboundMessageType,OutboundMessageType>protected void doExecute(@Nonnull org.opensaml.profile.context.ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext, @Nonnull ProfileInterceptorContext interceptorContext)
profileRequestContext - the current profile request contextinterceptorContext - the current profile interceptor contextCopyright © 1999–2014. All rights reserved.