Class UserScramCredentialsDescription

java.lang.Object
org.apache.kafka.clients.admin.UserScramCredentialsDescription

public class UserScramCredentialsDescription extends Object
Representation of all SASL/SCRAM credentials associated with a user that can be retrieved, or an exception indicating why credentials could not be retrieved.
See Also:
  • Constructor Details Link icon

    • UserScramCredentialsDescription Link icon

      public UserScramCredentialsDescription(String name, List<ScramCredentialInfo> credentialInfos)
      Parameters:
      name - the required user name
      credentialInfos - the required SASL/SCRAM credential representations for the user
  • Method Details Link icon

    • equals Link icon

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
    • name Link icon

      public String name()
      Returns:
      the user name
    • credentialInfos Link icon

      public List<ScramCredentialInfo> credentialInfos()
      Returns:
      the always non-null/unmodifiable list of SASL/SCRAM credential representations for the user