Class NullQuorumAuthServer
java.lang.Object
org.apache.zookeeper.server.quorum.auth.NullQuorumAuthServer
- All Implemented Interfaces:
QuorumAuthServer
This class represents no authentication server, it just return
without performing any authentication.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
authenticate
(Socket sock, DataInputStream din) Performs an authentication step for the given socket connection.
-
Constructor Details
-
NullQuorumAuthServer
public NullQuorumAuthServer()
-
-
Method Details
-
authenticate
Description copied from interface:QuorumAuthServer
Performs an authentication step for the given socket connection.- Specified by:
authenticate
in interfaceQuorumAuthServer
- Parameters:
sock
- socket connection to other quorum peerdin
- stream used to read auth data send by the quorum learner
-