org.appfuse.webapp.filter
Class ActionFilter

java.lang.Object
  extended byorg.appfuse.webapp.filter.ActionFilter
All Implemented Interfaces:
Filter

public class ActionFilter
extends Object
implements Filter

This class is used to filter all requests to the Action servlet and detect if a user is authenticated. If a user is authenticated, but no user object exists, this class populates the UserForm from the user store.

View Source

Version:
$Revision: 1.9 $ $Date: 2004/03/31 13:04:24 $
Author:
Matt Raible

Constructor Summary
ActionFilter()
           
 
Method Summary
 void destroy()
          Destroys the filter.
 void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain)
           
 void init(FilterConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionFilter

public ActionFilter()
Method Detail

init

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

destroy

public void destroy()
Destroys the filter.

Specified by:
destroy in interface Filter

doFilter

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


Copyright © 2002-2004