java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.security.commands.VerifyCredentialsCmdImpl
Updates the input credentials in either the database, LDAP, or third party system depending on how the WCS system is configured.
Before executing this task command, the methods listed below must be invoked.
setLogonId setPasswordAfter execution, the isValidCredentials method should be called to see whether the credentials were valid or not.
Error View Task: VerifyCredentialsErrorView
Field Summary | |
static java.lang.String | ERRTASK_NAME Error task name. |
protected java.lang.String | istrAuthenticateUserId userId for authenticated user. |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.security.commands.VerifyCredentialsCmd |
COPYRIGHT, defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
VerifyCredentialsCmdImpl() |
Method Summary | |
java.lang.String | getAuthenticateUserId() Retrieves the userId of the logged in user. |
protected java.lang.String | getEncipheredMerchantKey() Retrieves the enciphered merchant key to be used in the authentication process. |
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. |
boolean | isValidCredentials() After the this command task is executed, a boolean result flag will be set to indicate if the authentication was successful. |
void | performExecute() Executes the command. |
void | setLogonId(java.lang.String strLogonId) Set the logonId. |
void | setPassword(java.lang.String strPassword) Set the password. |
void | validateParameters() Validate 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
protected java.lang.String istrAuthenticateUserId
Constructor Detail |
public VerifyCredentialsCmdImpl()
Method Detail |
public java.lang.String getAuthenticateUserId()
protected java.lang.String getEncipheredMerchantKey()
public java.lang.String getLogonId()
protected java.lang.String getPassword()
public boolean isValidCredentials()
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.