public class ProcessLogout
extends net.shibboleth.idp.profile.AbstractProfileAction
SPSession objects into a LogoutContext.
A SubjectContext and SessionContext are also populated.
EventIds.PROCEED_EVENT_ID, EventIds.INVALID_PROFILE_CTX, EventIds.IO_ERRORIdPSession is destroyed., If a IdPSession was found, then a SubjectContext and LogoutContext will be populated.| Modifier and Type | Field and Description |
|---|---|
private Logger |
log
Class logger.
|
private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,LogoutContext> |
logoutContextCreationStrategy
Creation/lookup function for LogoutContext.
|
private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,SessionContext> |
sessionContextCreationStrategy
Creation/lookup function for SessionContext.
|
private SessionManager |
sessionManager
Session manager.
|
private SessionResolver |
sessionResolver
Session resolver.
|
private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.utilities.java.support.resolver.CriteriaSet> |
sessionResolverCriteriaStrategy
Function to return
CriteriaSet to give to session resolver. |
private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,SubjectContext> |
subjectContextCreationStrategy
Creation/lookup function for SubjectContext.
|
| Constructor and Description |
|---|
ProcessLogout()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) |
protected void |
doInitialize() |
void |
setLogoutContextCreationStrategy(com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,LogoutContext> strategy)
Set the creation/lookup strategy for the LogoutContext to populate.
|
void |
setSessionContextCreationStrategy(com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,SessionContext> strategy)
Set the creation/lookup strategy for the SessionContext to populate.
|
void |
setSessionManager(SessionManager manager)
Set the
SessionManager to use. |
void |
setSessionResolver(SessionResolver resolver)
Set the
SessionResolver to use. |
void |
setSessionResolverCriteriaStrategy(com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.utilities.java.support.resolver.CriteriaSet> strategy)
Set the strategy for building the
CriteriaSet to feed into the SessionResolver. |
void |
setSubjectContextCreationStrategy(com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,SubjectContext> strategy)
Set the creation/lookup strategy for the SubjectContext to populate.
|
doExecute, execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getResult, setMessageSource, setProfileContextLookupStrategydoPreExecute, getActivationCondition, setActivationConditiondoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, initialize, isDestroyed, isInitialized@NonnullAfterInit private SessionResolver sessionResolver
@NonnullAfterInit private SessionManager sessionManager
@Nonnull private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,SubjectContext> subjectContextCreationStrategy
@Nonnull private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,SessionContext> sessionContextCreationStrategy
@Nonnull private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,LogoutContext> logoutContextCreationStrategy
@Nonnull private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.utilities.java.support.resolver.CriteriaSet> sessionResolverCriteriaStrategy
CriteriaSet to give to session resolver.public void setSessionResolver(@Nonnull SessionResolver resolver)
SessionResolver to use.resolver - session resolver to usepublic void setSessionManager(@Nonnull SessionManager manager)
SessionManager to use.manager - session manager to usepublic void setSubjectContextCreationStrategy(@Nonnull com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,SubjectContext> strategy)
strategy - creation/lookup strategypublic void setSessionContextCreationStrategy(@Nonnull com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,SessionContext> strategy)
strategy - creation/lookup strategypublic void setLogoutContextCreationStrategy(@Nonnull com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,LogoutContext> strategy)
strategy - creation/lookup strategypublic void setSessionResolverCriteriaStrategy(@Nonnull com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.utilities.java.support.resolver.CriteriaSet> strategy)
CriteriaSet to feed into the SessionResolver.strategy - building strategyprotected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionprotected void doExecute(@Nonnull org.opensaml.profile.context.ProfileRequestContext profileRequestContext)
doExecute in class org.opensaml.profile.action.AbstractProfileActionCopyright © 1999–2014. All rights reserved.