|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.cas.client.session.SingleSignOutHandler
public final class SingleSignOutHandler
Performs CAS single sign-out operations in an API-agnostic fashion.
| Constructor Summary | |
|---|---|
SingleSignOutHandler()
|
|
| Method Summary | |
|---|---|
void |
destroySession(javax.servlet.http.HttpServletRequest request)
Destroys the current HTTP session for the given CAS logout request. |
SessionMappingStorage |
getSessionMappingStorage()
|
void |
init()
Initializes the component for use. |
boolean |
isLogoutRequest(javax.servlet.http.HttpServletRequest request)
Determines whether the given request is a CAS logout request. |
boolean |
isTokenRequest(javax.servlet.http.HttpServletRequest request)
Determines whether the given request contains an authentication token. |
void |
recordSession(javax.servlet.http.HttpServletRequest request)
Associates a token request with the current HTTP session by recording the mapping in the the configured SessionMappingStorage container. |
void |
setArtifactParameterName(String name)
|
void |
setLogoutParameterName(String name)
|
void |
setSessionMappingStorage(SessionMappingStorage storage)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingleSignOutHandler()
| Method Detail |
|---|
public void setSessionMappingStorage(SessionMappingStorage storage)
public SessionMappingStorage getSessionMappingStorage()
public void setArtifactParameterName(String name)
name - Name of the authentication token parameter.public void setLogoutParameterName(String name)
name - Name of parameter containing CAS logout request message.public void init()
public boolean isTokenRequest(javax.servlet.http.HttpServletRequest request)
request - HTTP reqest.
public boolean isLogoutRequest(javax.servlet.http.HttpServletRequest request)
request - HTTP request.
public void recordSession(javax.servlet.http.HttpServletRequest request)
SessionMappingStorage container.
request - HTTP request containing an authentication token.public void destroySession(javax.servlet.http.HttpServletRequest request)
request - HTTP request containing a CAS logout message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||