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
SaslException
public void authenticate(Socket sock, DataInputStream din) throws SaslException
QuorumAuthServer
authenticate
in interface QuorumAuthServer
sock
- socket connection to other quorum peerdin
- stream used to read auth data send by the quorum learnerSaslException
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.