java.lang.Object
org.mentawai.filter.RedirectAfterLoginFilter
- All Implemented Interfaces:
- org.mentawai.core.Filter
- public class RedirectAfterLoginFilter
- extends java.lang.Object
- implements org.mentawai.core.Filter
A filter that implements the redirect after login mechanism.
Apply this filter to your Login action if you want it to perform a redict
to the first page the user tried to access.
|
Field Summary |
static java.lang.String |
REDIR
The result indicating that a redict after login should be done. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REDIR
public static final java.lang.String REDIR
- The result indicating that a redict after login should be done.
- See Also:
- Constant Field Values
RedirectAfterLoginFilter
public RedirectAfterLoginFilter()
- Creates a RedirectAfterLoginFilter.
filter
public java.lang.String filter(org.mentawai.core.InvocationChain chain)
throws java.lang.Exception
- Description copied from interface:
org.mentawai.core.Filter
- Executes the filter.
- Specified by:
filter in interface org.mentawai.core.Filter
destroy
public void destroy()
- Description copied from interface:
org.mentawai.core.Filter
- Gives a chance to the filter to deallocalte any resources before it is destroyed.
This is called when the web application is stopped, in other words,
this has nothing to do with garbage collection.
- Specified by:
destroy in interface org.mentawai.core.Filter