NullQuorumAuthLearner
, SaslQuorumAuthLearner
public interface QuorumAuthLearner
Modifier and Type | Method | Description |
---|---|---|
void |
authenticate(java.net.Socket sock,
java.lang.String hostname) |
Performs an authentication step for the given socket connection.
|
void authenticate(java.net.Socket sock, java.lang.String hostname) throws java.io.IOException
sock
- socket connection to other quorum peer serverhostname
- host name of other quorum peer serverjava.io.IOException
- if there is an authentication failureCopyright © 2018 The Apache Software Foundation