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.
|
void |
shutdown()
Shut down the server and release resources.
|
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 learnerSaslExceptionpublic void shutdown()
QuorumAuthServershutdown in interface QuorumAuthServerCopyright © 2008–2026 The Apache Software Foundation. All rights reserved.