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 Details

    • ScramExtensionsCallback

      public ScramExtensionsCallback()
  • Method Details

    • extensions

      public 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. Default is an empty unmodifiable map.
    • extensions

      public void extensions(Map<String,String> extensions)
      Sets the SCRAM extensions on this callback. Maps passed in should be unmodifiable