org.chorem.bow.action
Class ForgotPasswordAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.chorem.bow.action.BowBaseAction
          extended by org.chorem.bow.action.ForgotPasswordAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable, org.apache.struts2.interceptor.SessionAware

public class ForgotPasswordAction
extends BowBaseAction

Genere un nouveau mot de passe pour l'utilisateur et lui envoie par mail TODO poussin 20110211 il faudrait ajouter une securite pour eviter que quelqu'un s'amuse a demander la modification de password de quelqu'un d'autre toutes les 2s - soit en ne permettant l'envoi qu'une fois par jour - soit ????

Author:
poussin
See Also:
Serialized Form

Field Summary
protected  String email
           
 
Fields inherited from class org.chorem.bow.action.BowBaseAction
log, session, UNTRANSLATED_MARKER
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ForgotPasswordAction()
           
 
Method Summary
 String execute()
           
 String getEmail()
           
 void setEmail(String email)
           
 
Methods inherited from class org.chorem.bow.action.BowBaseAction
getBowProxy, getBowSession, getSafeText, getText, getText, getText, getText, getText, getText, getText, getText, getText, setSession
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

email

protected String email
Constructor Detail

ForgotPasswordAction

public ForgotPasswordAction()
Method Detail

getEmail

public String getEmail()
Returns:
the email

setEmail

public void setEmail(String email)
Parameters:
email - the email to set

execute

public String execute()
Specified by:
execute in interface com.opensymphony.xwork2.Action
Overrides:
execute in class com.opensymphony.xwork2.ActionSupport


Copyright © 2010-2011 CodeLutin. All Rights Reserved.