public class TerminateSessionAction
extends org.springframework.webflow.action.AbstractAction
| Constructor and Description |
|---|
TerminateSessionAction(org.apereo.cas.CentralAuthenticationService centralAuthenticationService,
org.apereo.cas.web.support.CookieRetrievingCookieGenerator tgtCookieGenerator,
org.apereo.cas.web.support.CookieRetrievingCookieGenerator warnCookieGenerator,
org.apereo.cas.configuration.model.core.logout.LogoutProperties logoutProperties) |
| 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) |
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 TerminateSessionAction(org.apereo.cas.CentralAuthenticationService centralAuthenticationService,
org.apereo.cas.web.support.CookieRetrievingCookieGenerator tgtCookieGenerator,
org.apereo.cas.web.support.CookieRetrievingCookieGenerator warnCookieGenerator,
org.apereo.cas.configuration.model.core.logout.LogoutProperties logoutProperties)
public org.springframework.webflow.execution.Event doExecute(org.springframework.webflow.execution.RequestContext requestContext)
throws java.lang.Exception
doExecute in class org.springframework.webflow.action.AbstractActionjava.lang.Exceptionpublic 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 response