Class ScramExtensionsCallback
java.lang.Object
org.apache.kafka.common.security.scram.ScramExtensionsCallback
- All Implemented Interfaces:
Callback
Optional callback used for SCRAM mechanisms if any extensions need to be set in the SASL/SCRAM exchange.
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionReturns map of the extension names and values that are sent by the client to the server in the initial client SCRAM authentication message.voidextensions(Map<String, String> extensions) Sets the SCRAM extensions on this callback.
Constructor Details
ScramExtensionsCallback
public ScramExtensionsCallback()
Method Details
extensions
Returns map of the extension names and values that are sent by the client to the server in the initial client SCRAM authentication message. Default is an empty unmodifiable map.extensions
Sets the SCRAM extensions on this callback. Maps passed in should be unmodifiable