public class PaymentManagerVerifyCredentialsCmdImpl extends TaskCommandImpl implements PaymentManagerVerifyCredentialsCmd
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
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ERRTASK_NAME
Error task name.
|
COPYRIGHT, defaultCommandClassName, NAME
Constructor and Description |
---|
PaymentManagerVerifyCredentialsCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLogonId()
Retrieve the Logon ID under which the current user wishes to logon.
|
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.
|
void |
performExecute()
Checks to make sure that the password supplied is a valid password hash.
|
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 |
updateLockoutInformation(boolean valid_credentials)
Updates the lockout information
|
void |
validateParameters()
Validates the parameters.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String ERRTASK_NAME
public PaymentManagerVerifyCredentialsCmdImpl()
public java.lang.String getLogonId()
getLogonId
in interface PaymentManagerVerifyCredentialsCmd
public UserRegistryAccessBean getUserRegistryAccessBean()
getUserRegistryAccessBean
in interface PaymentManagerVerifyCredentialsCmd
public boolean isValidCredentials()
isValidCredentials
in interface PaymentManagerVerifyCredentialsCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setLogonId(java.lang.String strLogonId)
setLogonId
in interface PaymentManagerVerifyCredentialsCmd
strLogonId
- The Login ID.public void setPassword(java.lang.String strPassword)
setPassword
in interface PaymentManagerVerifyCredentialsCmd
strPassword
- The Password.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public void updateLockoutInformation(boolean valid_credentials) throws ECException
valid_credentials
- ECException