Class SaslExtensionsCallback
- java.lang.Object
-
- org.apache.kafka.common.security.auth.SaslExtensionsCallback
-
-
Constructor Summary
Constructors Constructor Description SaslExtensionsCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslExtensionsextensions()Returns always non-nullSaslExtensionsconsisting of the extension names and values that are sent by the client to the server in the initial client SASL authentication message.voidextensions(SaslExtensions extensions)Sets the SASL extensions on this callback.
-
-
-
Method Detail
-
extensions
public SaslExtensions extensions()
Returns always non-nullSaslExtensionsconsisting of the extension names and values that are sent by the client to the server in the initial client SASL authentication message. The default value isSaslExtensions.NO_SASL_EXTENSIONSso that if this callback is unhandled the client will see a non-null value.
-
extensions
public void extensions(SaslExtensions extensions)
Sets the SASL extensions on this callback.- Parameters:
extensions- the mandatory extensions to set
-
-