Class 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:
    KIP-554: Add Broker-side SCRAM Config API
    • Constructor Detail

      • UserScramCredentialsDescription

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

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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