java.lang.ObjectCacheableCommandImpl
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.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
public void setErrorRedirectURL(java.lang.String newErrorRedirectURL)
public void setNewPassword(java.lang.String strNewPassword)
public void setNewPasswordVerify(java.lang.String strNewPasswordVerify)
public void setOldPassword(java.lang.String strOldPassword)
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.