public class SaslQuorumAuthServer extends Object implements QuorumAuthServer
| Constructor and Description | 
|---|
SaslQuorumAuthServer(boolean quorumRequireSasl,
                    String loginContext,
                    Set<String> authzHosts)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
authenticate(Socket sock,
            DataInputStream din)
Performs an authentication step for the given socket connection. 
 | 
public SaslQuorumAuthServer(boolean quorumRequireSasl,
                            String loginContext,
                            Set<String> authzHosts)
                     throws SaslException
SaslExceptionpublic void authenticate(Socket sock, DataInputStream din) throws SaslException
QuorumAuthServerauthenticate in interface QuorumAuthServersock - socket connection to other quorum peerdin - stream used to read auth data send by the quorum learnerSaslExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.