HiRISE

HiRISE.HiWish
Class RememberAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.actions.BaseAction
          extended by org.apache.struts.actions.DispatchAction
              extended by HiRISE.HiWish.HiWishAction
                  extended by HiRISE.HiWish.RememberAction

public class RememberAction
extends HiWishAction

The remember action looks for a cookie, using the value of the cookie to fill out the login form. The user is returned to the index page.


Field Summary
 
Fields inherited from class HiRISE.HiWish.HiWishAction
ID, logger
 
Fields inherited from class org.apache.struts.actions.DispatchAction
clazz, log, methods, types
 
Fields inherited from class org.apache.struts.actions.BaseAction
messages
 
Fields inherited from class org.apache.struts.action.Action
servlet
 
Constructor Summary
RememberAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping map, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Look to the cookie for the value for the form.
 
Methods inherited from class HiRISE.HiWish.HiWishAction
closeConnection, generateSecureToken, getConnection, getContextURL, getContextVariable, getMailSession, getWishQuota, memorizeUser, rememberUser, sendEmail, sha1hex
 
Methods inherited from class org.apache.struts.actions.DispatchAction
cancelled, dispatchMethod, getMethod, getMethodName, getParameter, unspecified
 
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

RememberAction

public RememberAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping map,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest req,
                                                      javax.servlet.http.HttpServletResponse res)
                                               throws Exception
Look to the cookie for the value for the form.

Overrides:
execute in class org.apache.struts.actions.DispatchAction
Parameters:
map - struts
form - input
req - incoming
res - outgoing
Returns:
destination
Throws:
Exception

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona