LoginAction
Logs a user in to escenic
Struts config
<action path="/login" type="com.escenic.profile.presentation.struts.LoginAction" name="LogonForm" input="/login-input.jsp" validate="true"> <forward name="success" path="/login-success.jsp"/> </action>
Action Form
This action can be used with the following form:
com.escenic.profile.presentation.struts.LoginForm
-
The form contains information about the username and password to use when performing a login
Action Forwards
- input page
-
If the user couldn't be logged in
success
-
If login was successfull.
Action Error
If login fails,an error will be logged and the action will be forwared to the input-page and the user should be notified about what went wrong.
login_failed
-
(On the
global
property.) If logon fails login_failed_other
-
(On the
global
property.) If logon fails due to unforseen events login_failed_account_expired
-
(On the
global
property.) If logon fails due to an expired account