java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.security.commands.ResetPasswordRegisterCmdImpl
This task command is used to reset the password of a logged in user.
Before executing this task command, the methods listed below must be invoked.
setNewPassword setNewPasswordVerify setOldPassword
Field Summary | |
---|---|
static java.lang.String |
ERRTASK_NAME Error task view. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.security.commands. ResetPasswordRegisterCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
ResetPasswordRegisterCmdImpl() |
Method Summary | |
---|---|
protected
java.lang.String |
getNewPassword() Retrieves the new password of the user whose password is being changed. |
protected
java.lang.String |
getNewPasswordVerify() Retrieves the confirm new password of the user whose password is being changed. |
protected
java.lang.String |
getOldPassword() Retrieves the old password of the user whose password is being changed. |
void |
performExecute() Executes the command. |
void |
setErrorRedirectURL(java.lang.String newErrorRedirectURL) Sets the error URL to redirect to if specified. |
void |
setNewPassword(java.lang.String strNewPassword) Sets the new password of the user whose password is being changed. |
void |
setNewPasswordVerify(java.lang.String strNewPasswordVerify) Sets the confirm new password of the user whose password is being changed. |
void |
setOldPassword(java.lang.String strOldPassword) Sets the old password of the user whose password is being changed. |
void |
validateParameters() Validates the parameters. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String ERRTASK_NAME
Constructor Detail |
---|
public ResetPasswordRegisterCmdImpl()
Method Detail |
---|
protected java.lang.String getNewPassword()
protected java.lang.String getNewPasswordVerify()
protected java.lang.String getOldPassword()
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void setErrorRedirectURL(java.lang.String newErrorRedirectURL)
setErrorRedirectURL
in interface
ResetPasswordRegisterCmd
public void setNewPassword(java.lang.String strNewPassword)
setNewPassword
in interface
ResetPasswordRegisterCmd
strNewPassword
- New password.public void setNewPasswordVerify(java.lang.String strNewPasswordVerify)
setNewPasswordVerify
in interface
ResetPasswordRegisterCmd
strNewPasswordVerify
- Confirmation of new
password.public void setOldPassword(java.lang.String strOldPassword)
setOldPassword
in interface
ResetPasswordRegisterCmd
strOldPassword
- Old password to be
changed.public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException