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