|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.Action
org.apache.struts.actions.BaseAction
org.apache.struts.actions.DispatchAction
org.apache.struts.actions.MappingDispatchAction
org.apache.struts.apps.mailreader.actions.BaseAction
org.apache.struts.apps.mailreader.actions.LogonAction
public final class LogonAction
Validate a user logon.
| Field Summary |
|---|
| Fields inherited from class org.apache.struts.apps.mailreader.actions.BaseAction |
|---|
log, PASSWORD, TASK, USERNAME |
| Fields inherited from class org.apache.struts.actions.DispatchAction |
|---|
clazz, methods, types |
| Fields inherited from class org.apache.struts.actions.BaseAction |
|---|
messages |
| Fields inherited from class org.apache.struts.action.Action |
|---|
servlet |
| Constructor Summary | |
|---|---|
LogonAction()
|
|
| Method Summary | |
|---|---|
ActionForward |
execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Use "username" and "password" fields from ActionForm to retrieve a User object from the database. |
| Methods inherited from class org.apache.struts.apps.mailreader.actions.BaseAction |
|---|
doCancel, doFindFailure, doFindLogon, doFindSuccess, doGet, doGetSubscription, doGetSubscription, doGetUser, doGetUser, doGetUserDatabase, doInputForward, doLogProcess, doSaveToken, doSaveUser, doSet |
| Methods inherited from class org.apache.struts.actions.MappingDispatchAction |
|---|
getMethodName, getParameter, unspecified |
| Methods inherited from class org.apache.struts.actions.DispatchAction |
|---|
cancelled, dispatchMethod, getMethod |
| Methods inherited from class org.apache.struts.action.Action |
|---|
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogonAction()
| Method Detail |
|---|
public ActionForward execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
Use "username" and "password" fields from ActionForm to retrieve a User object from the database. If credentials are not valid, or database has disappeared, post error messages and forward to input.
execute in class MappingDispatchActionmapping - The ActionMapping used to select this instanceform - The optional ActionForm bean for this request (if any)request - The HTTP request we are processingresponse - The HTTP response we are creating
ActionForward instance describing where
and how control should be forwarded, or null if
the response has already been completed.
java.lang.Exception - if the application business logic throws
an exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||