Class ScramExtensionsCallback

  • All Implemented Interfaces:
    javax.security.auth.callback.Callback

    public class ScramExtensionsCallback
    extends java.lang.Object
    implements javax.security.auth.callback.Callback
    Optional callback used for SCRAM mechanisms if any extensions need to be set in the SASL/SCRAM exchange.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.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​(java.util.Map<java.lang.String,​java.lang.String> extensions)
      Sets the SCRAM extensions on this callback.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScramExtensionsCallback

        public ScramExtensionsCallback()
    • Method Detail

      • extensions

        public java.util.Map<java.lang.String,​java.lang.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​(java.util.Map<java.lang.String,​java.lang.String> extensions)
        Sets the SCRAM extensions on this callback. Maps passed in should be unmodifiable