org.jasig.cas.client.tomcat
Class StaticUriLogoutHandler

java.lang.Object
  extended by org.jasig.cas.client.tomcat.AbstractLogoutHandler
      extended by 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

Field Summary
 
Fields inherited from class org.jasig.cas.client.tomcat.AbstractLogoutHandler
logger, redirectUrl
 
Constructor Summary
StaticUriLogoutHandler()
           
 
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 org.jasig.cas.client.tomcat.AbstractLogoutHandler
constructRedirectUrl, logout, setRedirectUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticUriLogoutHandler

public StaticUriLogoutHandler()
Method Detail

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.