Interface QuorumAuthLearner
- All Known Implementing Classes:
NullQuorumAuthLearner,SaslQuorumAuthLearner
public interface QuorumAuthLearner
Interface for quorum learner authentication mechanisms.
-
Method Summary
Modifier and TypeMethodDescriptionvoidauthenticate(Socket sock, String hostname) Performs an authentication step for the given socket connection.
-
Method Details
-
authenticate
Performs an authentication step for the given socket connection.- Parameters:
sock- socket connection to other quorum peer serverhostname- host name of other quorum peer server- Throws:
IOException- if there is an authentication failure
-