Class ScramExtensionsCallback
java.lang.Object
org.apache.kafka.common.security.scram.ScramExtensionsCallback
- All Implemented Interfaces:
Callback
public class ScramExtensionsCallback extends Object implements Callback
Optional callback used for SCRAM mechanisms if any extensions need to be set
in the SASL/SCRAM exchange.
-
Constructor Summary
Constructors Constructor Description ScramExtensionsCallback()
-
Method Summary
Modifier and Type Method Description Map<String,String>
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.void
extensions(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
-