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.
If a user is currently not logged onto the system, the following set methods should be invoked before calling execute on the command.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The copyright field.
|
static java.lang.String | defaultCommandClassName
The default command implementation class.
|
static java.lang.String | NAME
The command name.
|
static 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.
|
Modifier and Type | Method and Description |
---|---|
void | setChallengeAnswer(java.lang.String strChallengeAnswer)
This method sets the answer to the challenge question that is used to confirm identity.
|
void | setLogonId(java.lang.String strLogonId)
This method sets the logon ID of the shopper or administrator whose password needs to be reset.
|
void | setLogonPassword(java.lang.String strNewPassword)
This method sets the new password of the user whose password is being changed.
|
void | setLogonPasswordOld(java.lang.String strOldPassword)
This method sets the old password of the user whose password is being changed.
|
void | setLogonPasswordVerify(java.lang.String strNewPasswrdVerify)
This method sets the confirm new password of the user whose password is being changed.
|
void | setRedirectURL(java.lang.String strRedirectURL)
This method sets the URL to redirect the user after a successful password reset.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
static final java.lang.String VALIDATION_CODE
void setChallengeAnswer(java.lang.String strChallengeAnswer)
void setLogonId(java.lang.String strLogonId)
void setLogonPassword(java.lang.String strNewPassword)
void setLogonPasswordOld(java.lang.String strOldPassword)
void setLogonPasswordVerify(java.lang.String strNewPasswrdVerify)
void setRedirectURL(java.lang.String strRedirectURL)