|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mentawai.filter.RedirectAfterLoginFilter
public class RedirectAfterLoginFilter
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 String |
REDIR
The result indicating that a redict after login should be done. |
| Constructor Summary | |
|---|---|
RedirectAfterLoginFilter()
Creates a RedirectAfterLoginFilter. |
|
| Method Summary | |
|---|---|
void |
destroy()
Gives a chance to the filter to deallocalte any resources before it is destroyed. |
String |
filter(InvocationChain chain)
Executes the filter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String REDIR
| Constructor Detail |
|---|
public RedirectAfterLoginFilter()
| Method Detail |
|---|
public String filter(InvocationChain chain)
throws Exception
Filter
filter in interface Filterchain - The InvocationChain for the action this filter is being applied to.
Exceptionpublic void destroy()
Filter
destroy in interface Filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||