Interface QuorumAuthServer

    • Method Summary

      All Methods Instance Methods Abstract 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.
    • Method Detail

      • authenticate

        void authenticate​(java.net.Socket sock,
                          java.io.DataInputStream din)
                   throws java.io.IOException
        Performs an authentication step for the given socket connection.
        Parameters:
        sock - socket connection to other quorum peer
        din - stream used to read auth data send by the quorum learner
        Throws:
        java.io.IOException - if the server fails to authenticate connecting quorum learner