Class SaslQuorumAuthServer

    • Constructor Summary

      Constructors 
      Constructor Description
      SaslQuorumAuthServer​(boolean quorumRequireSasl, java.lang.String loginContext, java.util.Set<java.lang.String> authzHosts)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void authenticate​(java.net.Socket sock, java.io.DataInputStream din)
      Performs an authentication step for the given socket connection.
      • Methods inherited from class java.lang.Object

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

      • SaslQuorumAuthServer

        public SaslQuorumAuthServer​(boolean quorumRequireSasl,
                                    java.lang.String loginContext,
                                    java.util.Set<java.lang.String> authzHosts)
                             throws javax.security.sasl.SaslException
        Throws:
        javax.security.sasl.SaslException
    • Method Detail

      • authenticate

        public void authenticate​(java.net.Socket sock,
                                 java.io.DataInputStream din)
                          throws javax.security.sasl.SaslException
        Description copied from interface: QuorumAuthServer
        Performs an authentication step for the given socket connection.
        Specified by:
        authenticate in interface QuorumAuthServer
        Parameters:
        sock - socket connection to other quorum peer
        din - stream used to read auth data send by the quorum learner
        Throws:
        javax.security.sasl.SaslException