com.ibm.commerce.security.commands

Interface PaymentManagerVerifyCredentialsCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    PaymentManagerVerifyCredentialsCmdImpl


    public interface PaymentManagerVerifyCredentialsCmd
    extends TaskCommand

    This command takes the input credentials and updates them in either the database, the LDAP server, or a third-party system. Depending on how the WebSphere Commerce system was configured.

    Before executing this task command, the following sets should be performed:

                    setLogonId
                    setPassword
     
    After execution, calls the isValidCredentials command to see whether the credentials are valid or not.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The copyright field.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default command implementation class.
        See Also:
        Constant Field Values
    • Method Detail

      • getLogonId

        java.lang.String getLogonId()
        Retrieves the Logon ID under which the current user wishes to logon.
        Returns:
        The Logon ID.
      • getUserRegistryAccessBean

        UserRegistryAccessBean getUserRegistryAccessBean()
        Retrieve the UserRegistryAccessBean to be used for authentication with the new Logon ID.
        Returns:
        The UserRegistryAccessBean.
      • isValidCredentials

        boolean isValidCredentials()
        After this command task is executed, a boolean result flag is set to indicate if the authentication was successful. This method returns this result flag to indicate if the authentication was successful.
        Returns:
        "True", if authentication was successful.
      • setLogonId

        void setLogonId(java.lang.String strLogonId)
        Sets the Logon ID under which the current user wishes to logon.
        Parameters:
        strLogonID - The Login ID.
      • setPassword

        void setPassword(java.lang.String strPassword)
        Sets the Password to be used for authentication with the new Logon ID.
        Parameters:
        strPassword - The Password.