edu.internet2.middleware.grouper.ui
Class CallerPageFilter
java.lang.Object
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.
CallerPageFilter
public CallerPageFilter()
- Constructor
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