org.jasig.cas.client.tomcat
Class RegexUriLogoutHandler
java.lang.Object
org.jasig.cas.client.tomcat.AbstractLogoutHandler
org.jasig.cas.client.tomcat.RegexUriLogoutHandler
- All Implemented Interfaces:
- LogoutHandler
public final class RegexUriLogoutHandler
- extends AbstractLogoutHandler
Performs CAS logout when the request URI matches a regular expression.
- 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 |
setLogoutUriRegex(String regex)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexUriLogoutHandler
public RegexUriLogoutHandler()
setLogoutUriRegex
public void setLogoutUriRegex(String regex)
- Parameters:
regex - Logout URI regular expression. CANNOT be null.
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.