edu.internet2.middleware.grouper.ui
Class CallerPageFilter

java.lang.Object
  extended by edu.internet2.middleware.grouper.ui.CallerPageFilter
All Implemented Interfaces:
Filter

public class CallerPageFilter
extends Object
implements Filter

Given a request parameter `pageId`, uses methods in GrouperCapableAction to reconstruct a query string and saved session attributes in order to redirect the user back to a previous page which was previously `saved`. TODO Need to look at passing messages - only want to apear once *

Version:
$Id: CallerPageFilter.java,v 1.6 2009-08-12 04:52:14 mchyzer Exp $
Author:
Gary Brown.

Constructor Summary
CallerPageFilter()
          Constructor
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)
           
 void init(FilterConfig config)
           
static String mapToQueryString(Map map)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallerPageFilter

public CallerPageFilter()
Constructor

Method Detail

init

public void init(FilterConfig config)
          throws ServletException
Specified by:
init in interface Filter
Throws:
ServletException

doFilter

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

mapToQueryString

public static String mapToQueryString(Map map)

destroy

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