public class TerminateSessionAction
extends org.springframework.webflow.action.AbstractAction
| Modifier and Type | Field and Description |
|---|---|
protected org.apereo.cas.CentralAuthenticationService |
centralAuthenticationService
The authentication service.
|
protected org.springframework.webflow.action.EventFactorySupport |
eventFactorySupport
The event factory.
|
protected org.apereo.cas.configuration.model.core.logout.LogoutProperties |
logoutProperties
The logout properties.
|
static java.lang.String |
REQUEST_PARAM_LOGOUT_REQUEST_CONFIRMED
Parameter to indicate logout request is confirmed.
|
protected org.apereo.cas.web.support.CookieRetrievingCookieGenerator |
ticketGrantingTicketCookieGenerator
The TGT cookie generator.
|
protected org.apereo.cas.web.support.CookieRetrievingCookieGenerator |
warnCookieGenerator
The warn cookie generator.
|
| Constructor and Description |
|---|
TerminateSessionAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
destroyApplicationSession(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Destroy application session.
|
org.springframework.webflow.execution.Event |
doExecute(org.springframework.webflow.execution.RequestContext requestContext) |
protected static boolean |
isLogoutRequestConfirmed(org.springframework.webflow.execution.RequestContext requestContext)
Check if the logout must be confirmed.
|
org.springframework.webflow.execution.Event |
terminate(org.springframework.webflow.execution.RequestContext context)
Terminates the CAS SSO session by destroying the TGT (if any) and removing cookies related to the SSO session.
|
public static final java.lang.String REQUEST_PARAM_LOGOUT_REQUEST_CONFIRMED
protected final org.springframework.webflow.action.EventFactorySupport eventFactorySupport
protected final org.apereo.cas.CentralAuthenticationService centralAuthenticationService
protected final org.apereo.cas.web.support.CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator
protected final org.apereo.cas.web.support.CookieRetrievingCookieGenerator warnCookieGenerator
protected final org.apereo.cas.configuration.model.core.logout.LogoutProperties logoutProperties
public org.springframework.webflow.execution.Event doExecute(org.springframework.webflow.execution.RequestContext requestContext)
doExecute in class org.springframework.webflow.action.AbstractActionpublic org.springframework.webflow.execution.Event terminate(org.springframework.webflow.execution.RequestContext context)
context - Request context.protected void destroyApplicationSession(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
request - the requestresponse - the responseprotected static boolean isLogoutRequestConfirmed(org.springframework.webflow.execution.RequestContext requestContext)
requestContext - the request context