org.appfuse.webapp.filter
Class ActionFilter
java.lang.Object
org.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionFilter
public ActionFilter()
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