Class SaslExtensionsCallback

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SaslExtensions extensions()
      Returns always non-null SaslExtensions consisting of the extension names and values that are sent by the client to the server in the initial client SASL authentication message.
      void extensions​(SaslExtensions extensions)
      Sets the SASL extensions on this callback.
      • Methods inherited from class java.lang.Object

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

      • SaslExtensionsCallback

        public SaslExtensionsCallback()
    • Method Detail

      • extensions

        public SaslExtensions extensions()
        Returns always non-null SaslExtensions consisting 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 is SaslExtensions.NO_SASL_EXTENSIONS so 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