com.atlassian.confluence.web.filter
Class ConfluenceTimeoutFilter

java.lang.Object
  extended by com.atlassian.core.filters.AbstractHttpFilter
      extended by com.atlassian.confluence.web.filter.ConfluenceTimeoutFilter
All Implemented Interfaces:
javax.servlet.Filter

public class ConfluenceTimeoutFilter
extends com.atlassian.core.filters.AbstractHttpFilter

Manual calculation of session timeout that can take into account "excluded urls" which do not prolong the life of the session


Constructor Summary
ConfluenceTimeoutFilter()
           
ConfluenceTimeoutFilter(com.atlassian.core.util.Clock clock)
           
 
Method Summary
protected  void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain)
           
 void init(javax.servlet.FilterConfig config)
           
 
Methods inherited from class com.atlassian.core.filters.AbstractHttpFilter
destroy, doFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceTimeoutFilter

public ConfluenceTimeoutFilter()

ConfluenceTimeoutFilter

public ConfluenceTimeoutFilter(com.atlassian.core.util.Clock clock)
Method Detail

init

public void init(javax.servlet.FilterConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Overrides:
init in class com.atlassian.core.filters.AbstractHttpFilter
Throws:
javax.servlet.ServletException

doFilter

protected void doFilter(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response,
                        javax.servlet.FilterChain filterChain)
                 throws IOException,
                        javax.servlet.ServletException
Specified by:
doFilter in class com.atlassian.core.filters.AbstractHttpFilter
Throws:
IOException
javax.servlet.ServletException


Copyright © 2003–2015 Atlassian. All rights reserved.