This controller command is used to reset the password of a user.
Before executing this task command run the following set commands:
If the user is currently logged into the system, to reset their password the following set methods should be invoked before calling execute on the command.
setLogonPassword setLogonPasswordOld setLogonPasswordVerify setRedirectURL
If the user is currently not logged into the system, to reset the password of the user's registered identity, the following set methods should be invoked before calling the execute method on the command.
setLogonId setChallengeAnswer setRedirectURL
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT Copyright field. |
static java.lang.String |
defaultCommandClassName Default command implementation class. |
static java.lang.String |
NAME Command name. |
Method Summary | |
---|---|
void |
setChallengeAnswer(java.lang.String strChallengeAnswer) Sets the answer to the challenge question; used to confirm identity. |
void |
setLogonId(java.lang.String strLogonId) Sets the logon ID of the shopper or administrator whose password needs to be reset. |
void |
setLogonPassword(java.lang.String strNewPassword) Sets the new password of the user whose password is being changed. |
void |
setLogonPasswordOld(java.lang.String strOldPassword) Sets the old password of the user whose password is being changed. |
void |
setLogonPasswordVerify(java.lang.String strNewPasswrdVerify) Sets the confirm new password of the user whose password is being changed. |
void |
setRedirectURL(java.lang.String strRedirectURL) Sets the URL to which the user should be redirected after successful password reset. |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRequestProperties,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
performExecute,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public void setChallengeAnswer(java.lang.String strChallengeAnswer)
strChallengeAnswer
- The answer to the challenge
question.public void setLogonId(java.lang.String strLogonId)
public void setLogonPassword(java.lang.String strNewPassword)
strNewPassword
- New password.public void setLogonPasswordOld(java.lang.String strOldPassword)
strOldPassword
- Old password to be
changed.public void setLogonPasswordVerify(java.lang.String strNewPasswrdVerify)
strNewPasswrdVerify
- Confirmation of new
password.public void setRedirectURL(java.lang.String strRedirectURL)
strRedirectURL
- URL which to redirect.