public class ExtractActiveAuthenticationResults extends AbstractAuthenticationAction
AuthenticationContext with the active
AuthenticationResult objects found in a SessionContext that is a direct
child of the ProfileRequestContext.EventIds.PROCEED_EVENT_IDProfileRequestContext.getSubcontext(AuthenticationContext.class, false) != null
| Modifier and Type | Field and Description |
|---|---|
private Logger |
log
Class logger.
|
private IdPSession |
session
Session to copy results from.
|
private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,SessionContext> |
sessionContextLookupStrategy
Lookup function for SessionContext.
|
| Constructor and Description |
|---|
ExtractActiveAuthenticationResults()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext,
AuthenticationContext authenticationContext) |
protected boolean |
doPreExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext,
AuthenticationContext authenticationContext) |
void |
setSessionContextLookupStrategy(com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,SessionContext> strategy)
Set the lookup strategy for the SessionContext to access.
|
doExecute, doPreExecute, setLookupStrategydoExecute, 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,SessionContext> sessionContextLookupStrategy
@Nullable private IdPSession session
public ExtractActiveAuthenticationResults()
public void setSessionContextLookupStrategy(@Nonnull com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,SessionContext> strategy)
strategy - lookup strategyprotected boolean doPreExecute(@Nonnull org.opensaml.profile.context.ProfileRequestContext profileRequestContext, @Nonnull AuthenticationContext authenticationContext)
doPreExecute in class AbstractAuthenticationActionprotected void doExecute(@Nonnull org.opensaml.profile.context.ProfileRequestContext profileRequestContext, @Nonnull AuthenticationContext authenticationContext)
doExecute in class AbstractAuthenticationActionCopyright © 1999–2014. All rights reserved.