public class ZooKeeperSaslClient extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ZooKeeperSaslClient.ClientCallbackHandler |
static class |
ZooKeeperSaslClient.SaslState |
static class |
ZooKeeperSaslClient.ServerSaslResponseCallback |
Modifier and Type | Field and Description |
---|---|
static String |
LOGIN_CONTEXT_NAME_KEY |
Constructor and Description |
---|
ZooKeeperSaslClient(String serverPrincipal) |
Modifier and Type | Method and Description |
---|---|
boolean |
clientTunneledAuthenticationInProgress() |
String |
getConfigStatus() |
Watcher.Event.KeeperState |
getKeeperState() |
String |
getLoginContext() |
ZooKeeperSaslClient.SaslState |
getSaslState() |
void |
initialize(ClientCnxn cnxn) |
boolean |
isComplete() |
boolean |
isFailed() |
void |
respondToServer(byte[] serverToken,
ClientCnxn cnxn) |
public static final String LOGIN_CONTEXT_NAME_KEY
public ZooKeeperSaslClient(String serverPrincipal) throws LoginException
LoginException
public ZooKeeperSaslClient.SaslState getSaslState()
public String getLoginContext()
public String getConfigStatus()
public boolean isComplete()
public boolean isFailed()
public void respondToServer(byte[] serverToken, ClientCnxn cnxn)
public Watcher.Event.KeeperState getKeeperState()
public void initialize(ClientCnxn cnxn) throws SaslException
SaslException
public boolean clientTunneledAuthenticationInProgress()
Copyright © 2015 The Apache Software Foundation