com.ibm.commerce.security.commands

Interface ResetPasswordCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Implementing Classes:
    ResetPasswordCmdImpl


    public interface ResetPasswordCmd
    extends ControllerCommand

    This controller command resets the password of a user.

    Before executing this task command, run the following set methods:

    If the user is currently logged into the system, the following set methods should be invoked before calling execute on the command.

    • setLogonPassword
    • setLogonPasswordOld
    • setLogonPasswordVerify
    • setRedirectURL

    If a user is currently not logged onto the system, the following set methods should be invoked before calling execute on the command.

    • setLogonId
    • setChallengeAnswer
    • setRedirectURL
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The copyright field.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default command implementation class.
        See Also:
        Constant Field Values
      • VALIDATION_CODE

        static final java.lang.String VALIDATION_CODE
        Validation code sent to the guest user after specifying the challenge answer, used to validate that the actual user is the one who is resetting the password.
        See Also:
        Constant Field Values
    • Method Detail

      • setChallengeAnswer

        void setChallengeAnswer(java.lang.String strChallengeAnswer)
        This method sets the answer to the challenge question that is used to confirm identity.
        Parameters:
        strChallengeAnswer - The answer to the challenge question.
      • setLogonId

        void setLogonId(java.lang.String strLogonId)
        This method sets the logon ID of the shopper or administrator whose password needs to be reset.
        Parameters:
        strLoginId - LoginID to be set.
      • setLogonPassword

        void setLogonPassword(java.lang.String strNewPassword)
        This method sets the new password of the user whose password is being changed.
        Parameters:
        strNewPassword - New password.
      • setLogonPasswordOld

        void setLogonPasswordOld(java.lang.String strOldPassword)
        This method sets the old password of the user whose password is being changed.
        Parameters:
        strOldPassword - Old password to be changed.
      • setLogonPasswordVerify

        void setLogonPasswordVerify(java.lang.String strNewPasswrdVerify)
        This method sets the confirm new password of the user whose password is being changed.
        Parameters:
        strNewPasswrdVerify - Confirmation of new password.
      • setRedirectURL

        void setRedirectURL(java.lang.String strRedirectURL)
        This method sets the URL to redirect the user after a successful password reset.
        Parameters:
        strRedirectURL - The URL to which to redirect.