org.jasig.cas.client.tomcat
Class StaticUriLogoutHandler
java.lang.Object
org.jasig.cas.client.tomcat.AbstractLogoutHandler
org.jasig.cas.client.tomcat.StaticUriLogoutHandler
- All Implemented Interfaces:
- LogoutHandler
public final class StaticUriLogoutHandler
- extends AbstractLogoutHandler
Performs CAS logout when the request URI matches a fixed context-relative
URI.
- Since:
- 3.1.12
- Version:
- $Revision$
- Author:
- Marvin S. Addison
|
Method Summary |
void |
init()
Initializes the component for use. |
boolean |
isLogoutRequest(javax.servlet.http.HttpServletRequest request)
Determines whether the given request is a logout request. |
void |
setLogoutUri(String logoutUri)
The logout URI to watch for logout requests. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticUriLogoutHandler
public StaticUriLogoutHandler()
setLogoutUri
public void setLogoutUri(String logoutUri)
- The logout URI to watch for logout requests.
- Parameters:
logoutUri - Logout URI. CANNOT be null. MUST be relative and start with "/"
init
public void init()
- Initializes the component for use.
isLogoutRequest
public boolean isLogoutRequest(javax.servlet.http.HttpServletRequest request)
- Determines whether the given request is a logout request.
- Parameters:
request - HTTP request.
- Returns:
- True if request is a logout request, false otherwise.
Copyright © 2006-2014 Jasig. All Rights Reserved.