Class SaslQuorumServerCallbackHandler

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

    public class SaslQuorumServerCallbackHandler
    extends java.lang.Object
    implements javax.security.auth.callback.CallbackHandler
    This is used by the SASL mechanisms to get further information to complete the authentication. For example, a SASL mechanism might use this callback handler to do verification operation. This is used by the QuorumServer to perform the mutual quorum peer authentication.
    • Constructor Summary

      Constructors 
      Constructor Description
      SaslQuorumServerCallbackHandler​(javax.security.auth.login.Configuration configuration, java.lang.String serverSection, java.util.Set<java.lang.String> authzHosts)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handle​(javax.security.auth.callback.Callback[] callbacks)  
      • Methods inherited from class java.lang.Object

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

      • SaslQuorumServerCallbackHandler

        public SaslQuorumServerCallbackHandler​(javax.security.auth.login.Configuration configuration,
                                               java.lang.String serverSection,
                                               java.util.Set<java.lang.String> authzHosts)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • handle

        public void handle​(javax.security.auth.callback.Callback[] callbacks)
                    throws javax.security.auth.callback.UnsupportedCallbackException
        Specified by:
        handle in interface javax.security.auth.callback.CallbackHandler
        Throws:
        javax.security.auth.callback.UnsupportedCallbackException