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.
|
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersfulfills, getOwnerstatic 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)
strChallengeAnswer - The answer to the challenge question.void setLogonId(java.lang.String strLogonId)
strLoginId - LoginID to be set.void setLogonPassword(java.lang.String strNewPassword)
strNewPassword - New password.void setLogonPasswordOld(java.lang.String strOldPassword)
strOldPassword - Old password to be changed.void setLogonPasswordVerify(java.lang.String strNewPasswrdVerify)
strNewPasswrdVerify - Confirmation of new password.void setRedirectURL(java.lang.String strRedirectURL)
strRedirectURL - The URL to which to redirect.