public class ResetPasswordGuestCmdImpl extends TaskCommandImpl implements ResetPasswordGuestCmd
This task command is used to reset the password of an unauthenticated user.
CMDREG.PROPERTIES
can be updated to include
validationCode=true
so that a validation code will be sent instead of the password.
In this case, ResetPassword command would need to be called again with the validation code, the new password,
and the new verification password to update the new password.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright statement.
|
static java.lang.String |
ERRTASK_NAME
Error task name
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ResetPasswordGuestCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
This method executes the command.
|
void |
setChallengeAnswer(java.lang.String strChallengeAnswer)
This method sets the answer to the challenge question;
used to confirm identity.
|
void |
setLogonId(java.lang.String strLogonId)
This method sets the logon ID of the shopper or administrator
whose password needs to be reset.
|
void |
validateParameters()
This method validates the parameters through ensuring that the
logon ID supplied is valid and belongs to
a registered user.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public static final java.lang.String ERRTASK_NAME
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setChallengeAnswer(java.lang.String strChallengeAnswer)
setChallengeAnswer
in interface ResetPasswordGuestCmd
strChallengeAnswer
- The answer to the challenge question.public void setLogonId(java.lang.String strLogonId)
setLogonId
in interface ResetPasswordGuestCmd
strLogonId
- The logon ID to be set.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException