public class CasSingleSignOutHandler extends Object implements LogoutHandler
This class is the logout handler for the CasClient class based on the SingleSignOutHandler class of the Jasig CAS client.
It should only be used in J2E context.
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
CasSingleSignOutHandler()
Construct an instance.
|
CasSingleSignOutHandler(org.jasig.cas.client.session.SingleSignOutHandler singleSignOutHandler)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroySession(WebContext context)
Destroys the current web session for the given CAS logout request.
|
org.jasig.cas.client.session.SessionMappingStorage |
getSessionMappingStorage() |
boolean |
isLogoutRequest(WebContext context)
Defines if this request is a logout one.
|
boolean |
isTokenRequest(WebContext context)
Defines if this request is a token one.
|
void |
recordSession(WebContext context,
String ticket)
Associates a token request with the current web session.
|
void |
setSessionMappingStorage(org.jasig.cas.client.session.SessionMappingStorage sessionMappingStorage) |
public CasSingleSignOutHandler()
@Deprecated public CasSingleSignOutHandler(org.jasig.cas.client.session.SingleSignOutHandler singleSignOutHandler)
SingleSignOutHandler class.
The provided handler is not taken into account.singleSignOutHandler - the real SSOut handlerpublic boolean isTokenRequest(WebContext context)
LogoutHandlerisTokenRequest in interface LogoutHandlercontext - the web contextpublic boolean isLogoutRequest(WebContext context)
LogoutHandlerisLogoutRequest in interface LogoutHandlercontext - the web contextpublic void recordSession(WebContext context, String ticket)
LogoutHandlerrecordSession in interface LogoutHandlercontext - the web contextticket - the service ticketpublic void destroySession(WebContext context)
LogoutHandlerdestroySession in interface LogoutHandlercontext - the web contextpublic org.jasig.cas.client.session.SessionMappingStorage getSessionMappingStorage()
public void setSessionMappingStorage(org.jasig.cas.client.session.SessionMappingStorage sessionMappingStorage)
Copyright © 2016. All Rights Reserved.