| org.apache.struts.apps.mailreader.actions.BaseAction org.apache.struts.apps.mailreader.actions.LogonAction
LogonAction | final public class LogonAction extends BaseAction (Code) | |
Validate a user logon.
version: $Rev: 471754 $ $Date: 2006-11-06 08:55:09 -0600 (Mon, 06 Nov 2006) $ |
execute | public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | |
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.
Parameters: mapping - The ActionMapping used to select this instance Parameters: form - The optional ActionForm bean for this request (if any) Parameters: request - The HTTP request we are processing Parameters: response - The HTTP response we are creating throws: Exception - if the application business logic throwsan exception |
Methods inherited from org.apache.struts.apps.mailreader.actions.BaseAction | void doCacheUser(HttpServletRequest request, User user)(Code)(Java Doc) protected void doCancel(HttpSession session, String method, String key)(Code)(Java Doc) protected ActionForward doFindFailure(ActionMapping mapping)(Code)(Java Doc) protected ActionForward doFindLogon(ActionMapping mapping)(Code)(Java Doc) protected ActionForward doFindSuccess(ActionMapping mapping)(Code)(Java Doc) protected String doGet(ActionForm form, String property)(Code)(Java Doc) protected Subscription doGetSubscription(HttpSession session)(Code)(Java Doc) protected Subscription doGetSubscription(HttpServletRequest request)(Code)(Java Doc) User doGetUser(UserDatabase database, String username, String password, ActionMessages errors) throws ExpiredPasswordException(Code)(Java Doc) User doGetUser(String username, String password, ActionMessages errors) throws ExpiredPasswordException(Code)(Java Doc) protected User doGetUser(HttpSession session)(Code)(Java Doc) protected User doGetUser(HttpServletRequest request)(Code)(Java Doc) protected UserDatabase doGetUserDatabase()(Code)(Java Doc) protected ActionForward doInputForward(ActionMapping mapping, HttpServletRequest request, ActionMessages errors)(Code)(Java Doc) protected void doLogProcess(ActionMapping mapping, String method)(Code)(Java Doc) protected void doSaveToken(HttpServletRequest request)(Code)(Java Doc) protected void doSaveUser(User user) throws ServletException(Code)(Java Doc) protected boolean doSet(ActionForm form, String property, String value)(Code)(Java Doc)
|
|
|