|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.turbine.modules.Module
org.apache.turbine.modules.Action
org.apache.turbine.modules.ActionEvent
org.apache.turbine.modules.actions.TemplateAction
org.apache.turbine.TemplateAction
org.tigris.scarab.actions.base.ScarabTemplateAction
org.tigris.scarab.actions.ForgotPassword
This class is responsible for dealing with the Forgot Password Action.
| Field Summary |
| Fields inherited from class org.tigris.scarab.actions.base.ScarabTemplateAction |
DEFAULT_MSG, EMAIL_ERROR, ERROR_MESSAGE, NO_PERMISSION_MESSAGE |
| Fields inherited from class org.apache.turbine.modules.ActionEvent |
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX |
| Constructor Summary | |
ForgotPassword()
|
|
| Method Summary | |
void |
doForgotpassword(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
This manages clicking the Forgot Password button |
boolean |
forgotPassword(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
This takes care of looking the user up, setting the password to an arbitrary value and sending the user an email |
static void |
sendNotificationEmail(org.apache.turbine.TemplateContext context,
ScarabUser user,
java.lang.String tempPassword)
Send the a password reset notification to the given user. |
| Methods inherited from class org.tigris.scarab.actions.base.ScarabTemplateAction |
doCancel, doDone, doGonext, doGotoothertemplate, doRefresh, doRefreshresultsperpage, doReset, doSave, getBackTemplate, getBackTemplate, getCancelTemplate, getCancelTemplate, getCurrentTemplate, getCurrentTemplate, getIntakeTool, getLastTemplate, getLocalizationTool, getNextTemplate, getNextTemplate, getOtherTemplate, getScarabRequestTool, log |
| Methods inherited from class org.apache.turbine.modules.actions.TemplateAction |
doPerform, doPerform, executeEvents |
| Methods inherited from class org.apache.turbine.modules.ActionEvent |
execute, formatString, perform |
| Methods inherited from class org.apache.turbine.modules.Module |
build, doBuild, doBuildTemplate, doBuildTemplate, evaluate, getPullService, getTemplateContext, getTemplateService, getTool, handleRequest, handleRequest, requestFinished, setTarget, setTemplate, templateExists |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ForgotPassword()
| Method Detail |
public void doForgotpassword(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
throws java.lang.Exception
java.lang.Exception
public boolean forgotPassword(org.apache.turbine.RunData data,
org.apache.turbine.TemplateContext context)
throws java.lang.Exception
java.lang.Exception
public static void sendNotificationEmail(org.apache.turbine.TemplateContext context,
ScarabUser user,
java.lang.String tempPassword)
throws java.lang.Exception
context - user - tempPassword -
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||