Interface VerifyCredentialsCmd

  • All Superinterfaces:,,,, ECCommand,,, TaskCommand
    All Known Implementing Classes:

    public interface VerifyCredentialsCmd
    extends TaskCommand

    This command takes the input credentials and updates them in either the database, the LDAP server, or third-party system. Credentials are updated depending on how the WebSphere Commerce server is configured.

    Before executing this task command, the methods listed below must be invoked.

    • setLogonId
    • setPassword
    After execution, call the isValidCredentials command to check if the credentials are valid or not.
    • Field Detail


        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

      • getAuthenticateUserId

        java.lang.String getAuthenticateUserId()
        This method retrieves the user ID of the logged in user.
        The user ID.
      • getLogonId

        java.lang.String getLogonId()
        This method retrieves the logon ID under which the current user wishes to log on.
        The logon ID.
      • isValidCredentials

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

        void setLogonId(java.lang.String strLogonId)
        This method sets the logon ID under which the current user wishes to logon.
        strLogonId - The login ID.
      • setPassword

        void setPassword(java.lang.String strPassword)
        This method sets the password to use for authentication with the new logon ID.
        strPassword - The password.