public class ZooKeeperSaslClient
extends java.lang.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 java.lang.String |
LOGIN_CONTEXT_NAME_KEY |
| Constructor and Description |
|---|
ZooKeeperSaslClient(java.lang.String serverPrincipal) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
clientTunneledAuthenticationInProgress() |
java.lang.String |
getConfigStatus() |
Watcher.Event.KeeperState |
getKeeperState() |
java.lang.String |
getLoginContext() |
ZooKeeperSaslClient.SaslState |
getSaslState() |
void |
initialize(ClientCnxn cnxn) |
boolean |
isComplete() |
boolean |
isFailed() |
void |
respondToServer(byte[] serverToken,
ClientCnxn cnxn) |
public static final java.lang.String LOGIN_CONTEXT_NAME_KEY
public ZooKeeperSaslClient(java.lang.String serverPrincipal)
throws javax.security.auth.login.LoginException
javax.security.auth.login.LoginExceptionpublic ZooKeeperSaslClient.SaslState getSaslState()
public java.lang.String getLoginContext()
public java.lang.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 javax.security.sasl.SaslException
javax.security.sasl.SaslExceptionpublic boolean clientTunneledAuthenticationInProgress()
Copyright © 2013 The Apache Software Foundation