[ https://issues.apache.org/jira/browse/ZOOKEEPER-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mahadev konar updated ZOOKEEPER-1185: ------------------------------------- Attachment: ZOOKEEPER-1185.patch patch that fixes the following statement in ClientCnxn.java from: {code} if ((p.ctx == null) || (clientCnxn.zooKeeperSaslClient == null) || (clientCnxn.zooKeeperSaslClient.getSaslState() == ZooKeeperSaslClient.SaslState.FAILED)) {code} to {code} if ((clientCnxn == null) || (clientCnxn.zooKeeperSaslClient == null) || (clientCnxn.zooKeeperSaslClient.getSaslState() == ZooKeeperSaslClient.SaslState.FAILED)) {code} > Send AuthFailed event to client if SASL authentication fails > ------------------------------------------------------------ > > Key: ZOOKEEPER-1185 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1185 > Project: ZooKeeper > Issue Type: Bug > Components: java client > Affects Versions: 3.4.0 > Reporter: Eugene Koontz > Assignee: Eugene Koontz > Labels: kerberos, security > Fix For: 3.4.0, 3.5.0 > > Attachments: ZOOKEEPER-1185.patch, ZOOKEEPER-1185.patch > > > There are 3 places where ClientCnxn should queue a AuthFailed event if client > fails to authenticate. Without sending this event, clients may be stuck > watching for a SaslAuthenticated event that will never come (since the client > failed to authenticate). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira