Class NullQuorumAuthLearner
java.lang.Object
org.apache.zookeeper.server.quorum.auth.NullQuorumAuthLearner
- All Implemented Interfaces:
QuorumAuthLearner
This class represents no authentication learner, it just return
without performing any authentication.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
authenticate
(Socket sock, String hostname) Performs an authentication step for the given socket connection.
-
Constructor Details
-
NullQuorumAuthLearner
public NullQuorumAuthLearner()
-
-
Method Details
-
authenticate
Description copied from interface:QuorumAuthLearner
Performs an authentication step for the given socket connection.- Specified by:
authenticate
in interfaceQuorumAuthLearner
- Parameters:
sock
- socket connection to other quorum peer serverhostname
- host name of other quorum peer server
-