3 Replies Latest reply: Nov 27, 2012 7:44 AM by RMishra RSS

    forgotPasswordHandler

    972484
      hi,

      can any one send me an example how to use forgotPasswordHandler in a class..
      I have to generate a password and print it on console.
      plz help

      thanks ahead
        • 1. Re: forgotPasswordHandler
          RMishra
          <dsp:form action="forgetpassword.jsp" method="post">
               <dsp:droplet name="/atg/dynamo/droplet/ErrorMessageForEach">
                    <dsp:oparam name="output">
                         <dsp:valueof param="message" />
                    </dsp:oparam>
               </dsp:droplet>
               Enter Email<dsp:input type="text" bean="ForgotPasswordHandler.value.email" required="true" name="profilePasswordForgotEmail"/>
               <dsp:input bean="/atg/userprofiling/ForgotPasswordHandler.forgotPassword" type="submit" value="submit"/>
               <dsp:input bean="/atg/userprofiling/ForgotPasswordHandler.forgotPasswordSuccessURL" type="hidden" value="emailSent.jsp"/>
               <dsp:input bean="/atg/userprofiling/ForgotPasswordHandler.forgotPasswordErrorURL" type="hidden" value="forgetpassword.jsp" /></td>
          </dsp:form>


          Hope it helps.
          -RMishra
          • 2. Re: forgotPasswordHandler
            972484
            i want to retieve the new password that is being generated ...
            can u plz tell me how to get that new password or print it on console.
            • 3. Re: forgotPasswordHandler
              RMishra
              new password is retrieved in documentation:
              http://docs.oracle.com/cd/E23507_01/Platform.20073/ATGPersProgGuide/html/s0507handlingforgottenpasswords01.html

              Hope this helps.
              -RMishra