Class ResetPasswordGuestCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, ResetPasswordGuestCmd,,,,,,

    public class ResetPasswordGuestCmdImpl
    extends TaskCommandImpl
    implements ResetPasswordGuestCmd

    This task command is used to reset the password of an unauthenticated user.

    • Prior to, the default implementation is to email a random, temporary password to the user.
    • Beginning in, the CMDREG.PROPERTIES can be updated to include validationCode=true so that a validation code will be sent instead of the password. In this case, ResetPassword command would need to be called again with the validation code, the new password, and the new verification password to update the new password.
    Before executing this task command, the methods listed below must be invoked.
    • setLogonId
    • setChallengeAnswer
    Error View Task: ResetPasswordGuestErrorView
    See Also:
    Serialized Form
    • Field Detail


        public static final java.lang.String COPYRIGHT
        Copyright statement.
        See Also:
        Constant Field Values

        public static final java.lang.String ERRTASK_NAME
        Error task name
        See Also:
        Constant Field Values
    • Constructor Detail

      • ResetPasswordGuestCmdImpl

        public ResetPasswordGuestCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        This method executes the command. If the user entered the correct answer to the challenge question, reset their password to a new random value and send a notification message.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface
        performExecute in class AbstractECTargetableCommand
      • setChallengeAnswer

        public void setChallengeAnswer(java.lang.String strChallengeAnswer)
        This method sets the answer to the challenge question; used to confirm identity.
        Specified by:
        setChallengeAnswer in interface ResetPasswordGuestCmd
        strChallengeAnswer - The answer to the challenge question.
      • setLogonId

        public void setLogonId(java.lang.String strLogonId)
        This method sets the logon ID of the shopper or administrator whose password needs to be reset.
        Specified by:
        setLogonId in interface ResetPasswordGuestCmd
        strLogonId - The logon ID to be set.