public boolean clientTunneledAuthenticationInProgress() {
// 1. SASL client is disabled.
if (!ZooKeeperSaslClient.isEnabled()) {
return false;
}
// 2. SASL login failed.
if (saslLoginFailed == true) {
return false;
}
// 3. SendThread has not created the authenticating object yet,
// therefore authentication is (at the earliest stage of being) in progress.
if (zooKeeperSaslClient == null) {
return true;
}
// 4. authenticating object exists, so ask it for its progress.
return zooKeeperSaslClient.clientTunneledAuthenticationInProgress();
}
ClientCnxn.java 文件源码
java
阅读 34
收藏 0
点赞 0
评论 0
项目:ZooKeeper
作者:
评论列表
文章目录