public class SaslQuorumAuthServer extends java.lang.Object implements QuorumAuthServer
| Constructor and Description |
|---|
SaslQuorumAuthServer(boolean quorumRequireSasl,
java.lang.String loginContext,
java.util.Set<java.lang.String> authzHosts) |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(java.net.Socket sock,
java.io.DataInputStream din)
Performs an authentication step for the given socket connection.
|
public SaslQuorumAuthServer(boolean quorumRequireSasl,
java.lang.String loginContext,
java.util.Set<java.lang.String> authzHosts)
throws javax.security.sasl.SaslException
javax.security.sasl.SaslExceptionpublic void authenticate(java.net.Socket sock,
java.io.DataInputStream din)
throws javax.security.sasl.SaslException
QuorumAuthServerauthenticate in interface QuorumAuthServersock - socket connection to other quorum peerdin - stream used to read auth data send by the quorum learnerjavax.security.sasl.SaslExceptionCopyright © 2019 The Apache Software Foundation