java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.security.commands.PaymentManagerVerifyCredentialsCmdImpl
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 setPasswordAfter execution the isValidCredentials command 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. |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.security.commands.PaymentManagerVerifyCredentialsCmd |
COPYRIGHT, defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
PaymentManagerVerifyCredentialsCmdImpl() |
Method Summary | |
protected static byte[] | formatPassword(byte[] bytePassword) Formats the password supplied. |
java.lang.String | getLogonId() Retrieve the Logon ID under which the current user wishes to logon. |
protected java.lang.String | getMerchantKey() Retrieves the Merchant Key to be used in the authentication process. |
protected java.lang.String | getPassword() Retrieve the Password to be used for authentication with the new Logon ID. |
UserRegistryAccessBean | getUserRegistryAccessBean() Retrieve the UserRegistryAccessBean 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. |
protected boolean | isValidPasswordHash() Method isValidPasswordHash. |
void | performExecute() Checks to make sure that the password supplied is a valid password password hash, then delegates to the VerifyCredentialsCmd to determine if the logonId/ password combination is valid. |
void | setLogonId(java.lang.String strLogonId) Sets the Logon ID under which the current user wishes to logon. |
void | setPassword(java.lang.String strPassword) Sets the Password to be used for authentication with the new Logon ID. |
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 PaymentManagerVerifyCredentialsCmdImpl()
Method Detail |
protected static byte[] formatPassword(byte[] bytePassword)
public java.lang.String getLogonId()
protected java.lang.String getMerchantKey()
protected java.lang.String getPassword()
public UserRegistryAccessBean getUserRegistryAccessBean()
public boolean isValidCredentials()
protected boolean isValidPasswordHash() throws ECException
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.