Class SaslQuorumAuthLearner

    • Constructor Detail

    • Method Detail

      • authenticate

        public void authenticate​(Socket sock,
                                 String hostName)
                          throws IOException
        Description copied from interface: QuorumAuthLearner
        Performs an authentication step for the given socket connection.
        Specified by:
        authenticate in interface QuorumAuthLearner
        Parameters:
        sock - socket connection to other quorum peer server
        hostName - host name of other quorum peer server
        Throws:
        IOException - if there is an authentication failure