InboundMessageType - type of in-bound messageOutboundMessageType - type of out-bound messagepublic abstract class AbstractAuthenticationAction<InboundMessageType,OutboundMessageType> extends AbstractProfileAction<InboundMessageType,OutboundMessageType>
AbstractProfileAction, this action also looks up
and makes available the AuthenticationContext.
Authentication action implementations should override
doExecute(ProfileRequestContext, AuthenticationContext)| Modifier and Type | Field and Description |
|---|---|
private AuthenticationContext |
authnContext
AuthenticationContext to operate on.
|
private com.google.common.base.Function<ProfileRequestContext,AuthenticationContext> |
authnCtxLookupStrategy
Strategy used to extract, and create if necessary, the
AuthenticationContext from the
ProfileRequestContext. |
| Constructor and Description |
|---|
AbstractAuthenticationAction()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext) |
protected void |
doExecute(ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext,
AuthenticationContext authenticationContext)
Performs this authentication action.
|
protected boolean |
doPreExecute(ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext) |
protected boolean |
doPreExecute(ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext,
AuthenticationContext authenticationContext)
Performs this authentication action's pre-execute step.
|
void |
setLookupStrategy(com.google.common.base.Function<ProfileRequestContext,AuthenticationContext> strategy)
Set the context lookup strategy.
|
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 com.google.common.base.Function<ProfileRequestContext,AuthenticationContext> authnCtxLookupStrategy
AuthenticationContext from the
ProfileRequestContext.@Nullable private AuthenticationContext authnContext
public void setLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,AuthenticationContext> strategy)
strategy - lookup strategy function for AuthenticationContext.protected final boolean doPreExecute(@Nonnull ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext)
doPreExecute in class AbstractConditionalProfileAction<InboundMessageType,OutboundMessageType>protected final void doExecute(@Nonnull ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext)
doExecute in class AbstractProfileAction<InboundMessageType,OutboundMessageType>protected boolean doPreExecute(@Nonnull ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext, @Nonnull AuthenticationContext authenticationContext)
profileRequestContext - the current IdP profile request contextauthenticationContext - the current authentication contextprotected void doExecute(@Nonnull ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext, @Nonnull AuthenticationContext authenticationContext)
profileRequestContext - the current IdP profile request contextauthenticationContext - the current authentication contextCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.