Class PaymentManagerVerifyCredentialsCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, PaymentManagerVerifyCredentialsCmd,,,,,,

    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:

    After execution the isValidCredentials command should be called to see whether the credentials were valid or not. Error View Task: VerifyCredentialsErrorView
    See Also:
    Serialized Form
    • Field Detail


        public static final java.lang.String ERRTASK_NAME
        Error task name.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PaymentManagerVerifyCredentialsCmdImpl

        public PaymentManagerVerifyCredentialsCmdImpl()
    • Method Detail

      • isValidCredentials

        public boolean isValidCredentials()
        After the this command task is executed, a boolean result flag will be set to indicate if the authentication was successful. This method will return the this result flag to indicate if the authentication was successful.
        Specified by:
        isValidCredentials in interface PaymentManagerVerifyCredentialsCmd
        True if authentication was successful.
      • performExecute

        public void performExecute()
                            throws ECException
        Checks to make sure that the password supplied is a valid password hash. Delegates to the VerifyCredentialsCmd to determine if the logonId/ password combination is valid.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface
        performExecute in class AbstractECTargetableCommand
      • setLogonId

        public void setLogonId(java.lang.String strLogonId)
        Sets the Logon ID under which the current user wishes to logon.
        Specified by:
        setLogonId in interface PaymentManagerVerifyCredentialsCmd
        strLogonId - The Login ID.
      • setPassword

        public void setPassword(java.lang.String strPassword)
        Sets the Password to be used for authentication with the new Logon ID.
        Specified by:
        setPassword in interface PaymentManagerVerifyCredentialsCmd
        strPassword - The Password.
      • updateLockoutInformation

        public void updateLockoutInformation(boolean valid_credentials)
                                      throws ECException
        Updates the lockout information
        valid_credentials -