com.ibm.commerce.security.commands
Interface ResetPasswordRegisterCmd

All Superinterfaces:
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
 

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 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.
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
Command name.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
Default command implementation class.
See Also:
Constant Field Values
Method Detail

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.

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.

Feedback