com.ibm.commerce.security.commands

Interface ResetPasswordRegisterCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    ResetPasswordRegisterCmdImpl


    public interface ResetPasswordRegisterCmd
    extends TaskCommand

    This task command is used to reset the password of a user that is logged onto the system.

    Before executing this task command, the methods listed below must be invoked.

                    setNewPassword
                    setNewPasswordVerify
                    setOldPassword
     
    • 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
    • Method Detail

      • setErrorRedirectURL

        void setErrorRedirectURL(java.lang.String ErrorRedirectURL)
        Sets the error URL to which to redirect if specified. This is used in case of user errors in the parameters.
        Parameters:
        ErrorRedirectURL - the error redirect URL.
      • setNewPassword

        void setNewPassword(java.lang.String strNewPassword)
        Sets the new password of the user whose password is being changed.
        Parameters:
        strNewPassword - New password.
      • setNewPasswordVerify

        void setNewPasswordVerify(java.lang.String strNewPasswrdVerify)
        Sets the confirm new password of the user whose password is being changed.
        Parameters:
        strNewPasswrdVerify - Confirmation of the new password.
      • setOldPassword

        void setOldPassword(java.lang.String strOldPassword)
        Sets the old password of the user whose password is being changed.
        Parameters:
        strOldPassword - The old password to be changed.