java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.security.commands.UpdateCredentialsCmdImpl
This command will take the input credentials and update them in either the database, LDAP, or third party system depending on how the WCS system was configured.
Before executing this task command the following sets should be performed:
setLogonId setPasswordError View Task: UpdateCredentialsCredentialsErrorView
Field Summary | |
---|---|
static java.lang.String |
ERRTASK_NAME Error task name. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.security.commands. UpdateCredentialsCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
UpdateCredentialsCmdImpl() |
Method Summary | |
---|---|
protected
java.lang.String |
getLogonId() Retrieves the logon ID under which the current user wishes to logon. |
protected
java.lang.String |
getPassword() Retrieves the password to be used for authentication with the new logon ID. |
protected
boolean |
isPasswordTemporary() Indicates whether the password is temporary. |
void |
markPasswordTemporary() Call this method to indicate that the updated password is temporary. |
void |
performExecute() Execute the command. |
void |
setLogonId(java.lang.String strLogonId) Sets the logonId of the user whose password is to be updated. |
void |
setPassword(java.lang.String strPassword) Sets the value of the new password |
void |
validateParameters() Validates the parameters. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String ERRTASK_NAME
Constructor Detail |
---|
public UpdateCredentialsCmdImpl()
Method Detail |
---|
protected java.lang.String getLogonId()
protected java.lang.String getPassword()
protected boolean isPasswordTemporary()
public void markPasswordTemporary()
markPasswordTemporary
in interface
UpdateCredentialsCmd
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void setLogonId(java.lang.String strLogonId)
setLogonId
in interface
UpdateCredentialsCmd
strLogonId
- The loginId.public void setPassword(java.lang.String strPassword)
setPassword
in interface
UpdateCredentialsCmd
strPassword
- The password.public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
java.lang.Exception
ECException