org.yawlfoundation.yawl.monitor.jsf
Class SessionTimeoutFilter

java.lang.Object
  extended by org.yawlfoundation.yawl.monitor.jsf.SessionTimeoutFilter
All Implemented Interfaces:
javax.servlet.Filter

public class SessionTimeoutFilter
extends Object
implements javax.servlet.Filter

Redirects a user action to the login page after a session timeout Author: Michael Adams Date: 14/03/2008 Based on code sourced from: http://techieexchange.blogspot.com/2008/02/jsf-session-expiry-timeout-solution.html


Constructor Summary
SessionTimeoutFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain)
           
 void init(javax.servlet.FilterConfig filterConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionTimeoutFilter

public SessionTimeoutFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Filter

doFilter

public void doFilter(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response,
                     javax.servlet.FilterChain filterChain)
              throws IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in interface javax.servlet.Filter
Throws:
IOException
javax.servlet.ServletException


Copyright © 2004-2012 The YAWL Foundation.