public class ResetPasswordGuestValidationCmdImpl extends TaskCommandImpl implements ResetPasswordGuestValidationCmd
This task command is used to verify the validation code that was sent to the user whose password is being reset, and then update the password to a new value. If an unauthenticated user began the reset process, the validation code must be specified in the same session as when the challenge answer was specified.
Before executing this task command, the methods listed below must be invoked.
setValidationCode setNewPassword setNewPasswordVerify
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The copyright statement.
|
static java.lang.String |
ERRTASK_NAME
The error task view.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ResetPasswordGuestValidationCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Executes this command:
parseValidationCode()
verifyValidationcode()
|
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 string of the user
whose password is being changed.
|
void |
setValidationCode(java.lang.String strValidationCode)
Sets the validation code to verify that the correct user is resetting the password.
|
void |
validateParameters()
Validates the parameters.
|
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 setNewPassword(java.lang.String strNewPassword)
setNewPassword
in interface ResetPasswordGuestValidationCmd
strNewPassword
- The new password.public void setNewPasswordVerify(java.lang.String strNewPasswordVerify)
setNewPasswordVerify
in interface ResetPasswordGuestValidationCmd
strNewPasswordVerify
- Confirmation of new password.public void setValidationCode(java.lang.String strValidationCode)
setValidationCode
in interface ResetPasswordGuestValidationCmd
strValidationCode
- the validation code used to ensure the correct user is resetting the password.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException