com.mizar.faces.javax.session
Class SessionTimeoutFilter

java.lang.Object
  extended by com.mizar.faces.javax.session.SessionTimeoutFilter
All Implemented Interfaces:
javax.servlet.Filter

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

Used to monitor the number of concurrent sessions and to present /ExcessSessions.html if ApplicationConstants.maxSessions is exceeded


Constructor Summary
SessionTimeoutFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, 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)
Specified by:
init in interface javax.servlet.Filter

doFilter

public void doFilter(javax.servlet.ServletRequest servletRequest,
                     javax.servlet.ServletResponse servletResponse,
                     javax.servlet.FilterChain filterChain)
              throws java.io.IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in interface javax.servlet.Filter
Throws:
java.io.IOException
javax.servlet.ServletException

destroy

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