public interface QuorumAuthServer
Modifier and Type | Method and Description |
---|---|
void |
authenticate(Socket sock,
DataInputStream din)
Performs an authentication step for the given socket connection.
|
void authenticate(Socket sock, DataInputStream din) throws IOException
sock
- socket connection to other quorum peerdin
- stream used to read auth data send by the quorum learnerIOException
- if the server fails to authenticate connecting quorum learnerCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.