org.jasig.portal.security
Class MaxInactiveFilter

java.lang.Object
  extended by org.jasig.portal.security.MaxInactiveFilter
All Implemented Interfaces:
Filter

public class MaxInactiveFilter
extends Object
implements Filter

This Filter sets the HttpSession MaxInactiveInterval based on permissions, if applicable.

Author:
awills

Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
MaxInactiveFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)
           
 IPersonManager getPersonManager()
           
 void init(FilterConfig filterConfig)
           
 void setPersonManager(IPersonManager personManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

MaxInactiveFilter

public MaxInactiveFilter()
Method Detail

getPersonManager

public IPersonManager getPersonManager()
Returns:
the personManager

setPersonManager

public void setPersonManager(IPersonManager personManager)
Parameters:
personManager - the personManager to set

init

public void init(FilterConfig filterConfig)
Specified by:
init in interface Filter

destroy

public void destroy()
Specified by:
destroy in interface Filter

doFilter

public void doFilter(ServletRequest req,
                     ServletResponse res,
                     FilterChain chain)
              throws ServletException,
                     IOException
Specified by:
doFilter in interface Filter
Throws:
ServletException
IOException


Copyright © 2010 Jasig. All Rights Reserved.