com.ibm.commerce.security.commands
Interface ResetPasswordRegisterCmd
- All Superinterfaces:
- ECCommand, TaskCommand
- All Known Implementing Classes:
- ResetPasswordRegisterCmdImpl
- public interface ResetPasswordRegisterCmd
- extends TaskCommand
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
Method Summary |
void |
setErrorRedirectURL(java.lang.String ErrorRedirectURL)
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 strNewPasswrdVerify)
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. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
NAME
public static final java.lang.String NAME
setErrorRedirectURL
public void setErrorRedirectURL(java.lang.String ErrorRedirectURL)
- Sets the error URL to redirect to if specified.
This is used in case of user errors in the parameters.
- Parameters:
strNewPassword
- New password.
setNewPassword
public void setNewPassword(java.lang.String strNewPassword)
- Sets the new password of the user whose
password is being changed.
- Parameters:
strNewPassword
- New password.
setNewPasswordVerify
public void setNewPasswordVerify(java.lang.String strNewPasswrdVerify)
- Sets the confirm new password of the user
whose password is being changed.
- Parameters:
strNewPasswrdVerify
- Confirmation of new password.
setOldPassword
public void setOldPassword(java.lang.String strOldPassword)
- Sets the old password of the user whose
password is being changed.
- Parameters:
strOldPassword
- Old password to be changed.