Class SaslExtensions
- java.lang.Object
-
- org.apache.kafka.common.security.auth.SaslExtensions
-
public class SaslExtensions extends java.lang.Object
A simple immutable value object class holding customizable SASL extensions
-
-
Field Summary
Fields Modifier and Type Field Description static SaslExtensions
NO_SASL_EXTENSIONS
An "empty" instance indicating no SASL extensions
-
Constructor Summary
Constructors Constructor Description SaslExtensions(java.util.Map<java.lang.String,java.lang.String> extensionsMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
java.util.Map<java.lang.String,java.lang.String>
map()
Returns an immutable map of the extension names and their valuesjava.lang.String
toString()
-
-
-
Field Detail
-
NO_SASL_EXTENSIONS
public static final SaslExtensions NO_SASL_EXTENSIONS
An "empty" instance indicating no SASL extensions
-
-
Method Detail
-
map
public java.util.Map<java.lang.String,java.lang.String> map()
Returns an immutable map of the extension names and their values
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-