org.openi.security
Class LogoutFilter

java.lang.Object
  extended byorg.openi.security.LogoutFilter
All Implemented Interfaces:
javax.servlet.Filter

public class LogoutFilter
extends java.lang.Object
implements javax.servlet.Filter

Version:
$Revision: 1.1.1.2 $ $Date: 2005/07/11 17:58:36 $ Filter to handle logout event.
Author:
Uddhab Pant

Constructor Summary
LogoutFilter()
           
 
Method Summary
 void destroy()
          Called by the web container to indicate to a filter that it is being taken out of service.
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
          The doFilter method of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain.
 void init(javax.servlet.FilterConfig filterConfig)
          Called by the web container to indicate to a filter that it is being placed into service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogoutFilter

public LogoutFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
Called by the web container to indicate to a filter that it is being placed into service.

Specified by:
init in interface javax.servlet.Filter
Parameters:
filterConfig - FilterConfig
Throws:
javax.servlet.ServletException

doFilter

public void doFilter(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response,
                     javax.servlet.FilterChain chain)
              throws java.io.IOException,
                     javax.servlet.ServletException
The doFilter method of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain.

Specified by:
doFilter in interface javax.servlet.Filter
Parameters:
request - ServletRequest
response - ServletResponse
chain - FilterChain
Throws:
java.io.IOException
javax.servlet.ServletException

destroy

public void destroy()
Called by the web container to indicate to a filter that it is being taken out of service.

Specified by:
destroy in interface javax.servlet.Filter