public abstract class AbstractMessageChannelSecurity extends AbstractProfileAction
MessageChannelSecurityContext on a BaseContext,
where the latter is located using a lookup strategy.| Constructor and Description |
|---|
AbstractMessageChannelSecurity()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doPreExecute(ProfileRequestContext profileRequestContext)
Called prior to execution, actions may override this method to perform pre-processing for a request.
|
protected BaseContext |
getParentContext()
Get the parent context on which the
MessageChannelSecurityContext
will be populated. |
void |
setParentContextLookupStrategy(com.google.common.base.Function<ProfileRequestContext,BaseContext> strategy)
Set the strategy used to look up the parent
BaseContext on which the
MessageChannelSecurityContext will be populated. |
doExecute, doPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitializedpublic AbstractMessageChannelSecurity()
public void setParentContextLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,BaseContext> strategy)
BaseContext on which the
MessageChannelSecurityContext will be populated.strategy - strategy used to look up the parent BaseContext on which to populate
the MessageChannelSecurityContextprotected 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 AbstractProfileActionprofileRequestContext - the current IdP profile request contextprotected BaseContext getParentContext()
MessageChannelSecurityContext
will be populated.Copyright © 2021. All rights reserved.