com.ibm.commerce.security.commands
Interface ResetPasswordCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable
All Known Implementing Classes:
ResetPasswordCmdImpl

public interface ResetPasswordCmd
extends ControllerCommand

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
           
static java.lang.String defaultCommandClassName
           
static java.lang.String 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
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, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME
Method Detail

setChallengeAnswer

public void setChallengeAnswer(java.lang.String strChallengeAnswer)
Sets the answer to the challenge question; used to confirm identity.
Parameters:
strChallengeAnswer - The answer to the challenge question.

setLogonId

public void setLogonId(java.lang.String strLogonId)
Sets the logon ID of the shopper or administrator whose password needs to be reset.
Parameters:
strLoginID - LoginID to be set.

setLogonPassword

public void setLogonPassword(java.lang.String strNewPassword)
Sets the new password of the user whose password is being changed.
Parameters:
strNewPassword - New password.

setLogonPasswordOld

public void setLogonPasswordOld(java.lang.String strOldPassword)
Sets the old password of the user whose password is being changed.
Parameters:
strOldPassword - Old password to be changed.

setLogonPasswordVerify

public void setLogonPasswordVerify(java.lang.String strNewPasswrdVerify)
Sets the confirm new password of the user whose password is being changed.
Parameters:
strNewPasswrdVerify - Confirmation of new password.

setRedirectURL

public void setRedirectURL(java.lang.String strRedirectURL)
Sets the URL to which the user should be redirected after successful password reset.
Parameters:
strRedirectURL - URL which to redirect.