com.ibm.commerce.security.commands
Interface UpdateCredentialsCmd
- All Superinterfaces:
- ECCommand, TaskCommand
- All Known Implementing Classes:
- UpdateCredentialsCmdImpl
- public interface UpdateCredentialsCmd
- extends TaskCommand
This command will take the input credentials and update them in either
the database, LDAP, or a third party system depending on how the WCS system
is configured.
Before executing this task command, the methods listed below must be invoked.
setLogonId
setPassword
Method Summary |
void |
markPasswordTemporary()
Call this method to indicate that the updated password is temporary. |
void |
setLogonId(java.lang.String strLogonId)
Sets the logon ID of the user whose password is to be updated. |
void |
setPassword(java.lang.String strPassword)
Sets the value of the new password |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
NAME
public static final java.lang.String NAME
markPasswordTemporary
public void markPasswordTemporary()
- Call this method to indicate that the updated password is temporary.
setLogonId
public void setLogonId(java.lang.String strLogonId)
- Sets the logon ID of the user whose password is to be updated.
- Parameters:
strLogonID
- The login ID.
setPassword
public void setPassword(java.lang.String strPassword)
- Sets the value of the new password
- Parameters:
strPassword
- The password.