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.
|
Constructor and Description |
---|
PaymentManagerVerifyCredentialsCmdImpl() |
Modifier and Type | Method and Description |
---|---|
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 | 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.
|
protected boolean | isAccountDisabled()
Whether or not the account is disabled.
|
protected boolean | isLDAPUsed()
Deprecated.
in WC 6.0, replaced by MemberHelper.isLDAPUsedForAuthentication()
|
protected boolean | isLogonAllowedNow()
Whether or not the user is allowed to logon at this time.
|
protected boolean | isPasswordExpired()
Indicates whether or not the password is expired.
|
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 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.
|
public static final java.lang.String ERRTASK_NAME
public PaymentManagerVerifyCredentialsCmdImpl()
protected static byte[] formatPassword(byte[] bytePassword)
public java.lang.String getLogonId()
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
protected boolean isLDAPUsed()
protected boolean isAccountDisabled() throws ECSystemException
protected boolean isPasswordExpired() throws ECSystemException
protected boolean isLogonAllowedNow()
public void updateLockoutInformation(boolean valid_credentials) throws ECException