java.lang.ObjectCacheableCommandImpl
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.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()
public void performExecute() throws ECException
public void setLogonId(java.lang.String strLogonId)
public void setPassword(java.lang.String strPassword)
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.