public interface RedirectAfterLogin
A marker interface to indicate that an action can receive a redirection after a login.
An action should implement this interface if it wants to receive a redirection after the user logs in.
Redirect After Login is basically this:
For this to happen, MyAction has to implement this marker interface.
- The user tries to access action /MyAction.mtw
- The user is not logged, so he is taken to the login page.
- After a successful login, instead of going to the first page (welcome page), it is taken to the /MyAction.mtw action.
- Sergio Oliveira
boolean shouldRedirect(String innerAction)
Copyright © 2013. All Rights Reserved.