Package org.apache.kafka.clients.admin
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.
-
-
Constructor Summary
Constructors Constructor Description UserScramCredentialsDescription(String name, List<ScramCredentialInfo> credentialInfos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ScramCredentialInfo>
credentialInfos()
boolean
equals(Object o)
int
hashCode()
String
name()
String
toString()
-
-
-
Constructor Detail
-
UserScramCredentialsDescription
public UserScramCredentialsDescription(String name, List<ScramCredentialInfo> credentialInfos)
- Parameters:
name
- the required user namecredentialInfos
- the required SASL/SCRAM credential representations for the user
-
-
Method Detail
-
name
public String name()
- Returns:
- the user name
-
credentialInfos
public List<ScramCredentialInfo> credentialInfos()
- Returns:
- the always non-null/unmodifiable list of SASL/SCRAM credential representations for the user
-
-