Class SaslQuorumAuthServer
- java.lang.Object
- 
- org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthServer
 
- 
- All Implemented Interfaces:
- QuorumAuthServer
 
 public class SaslQuorumAuthServer extends Object implements QuorumAuthServer 
- 
- 
Constructor SummaryConstructors Constructor Description SaslQuorumAuthServer(boolean quorumRequireSasl, String loginContext, Set<String> authzHosts)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidauthenticate(Socket sock, DataInputStream din)Performs an authentication step for the given socket connection.
 
- 
- 
- 
Constructor Detail- 
SaslQuorumAuthServerpublic SaslQuorumAuthServer(boolean quorumRequireSasl, String loginContext, Set<String> authzHosts) throws SaslException- Throws:
- SaslException
 
 
- 
 - 
Method Detail- 
authenticatepublic void authenticate(Socket sock, DataInputStream din) throws SaslException Description copied from interface:QuorumAuthServerPerforms an authentication step for the given socket connection.- Specified by:
- authenticatein interface- QuorumAuthServer
- Parameters:
- sock- socket connection to other quorum peer
- din- stream used to read auth data send by the quorum learner
- Throws:
- SaslException
 
 
- 
 
-