HiRISE

HiRISE.HiWish
Class RegisterAction

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.RegisterAction

public class RegisterAction
extends HiWishAction

Accepts register input, if valid and no existing user, creates a stub user and sends out the confirmation email.

Version:
1.12
Author:
guym

Nested Class Summary
protected static class RegisterAction.CaptchaResponse
          JSON Deserializing class for Captcha API response
 
Field Summary
static String ID
          CVS ID
 
Fields inherited from class HiRISE.HiWish.HiWishAction
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
RegisterAction()
           
 
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)
           
 
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
 

Field Detail

ID

public static final String ID
CVS ID

See Also:
Constant Field Values
Constructor Detail

RegisterAction

public RegisterAction()
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
Overrides:
execute in class org.apache.struts.actions.DispatchAction
Parameters:
map - Struts configured mapping
form - The form instance, if any
req - Request instance
res - Response instance
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