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