[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15060974#comment-15060974
 ] 

Steve Loughran commented on ZOOKEEPER-2345:
-------------------------------------------

That first warning is a sign that {{username}} == null in the sasl callback, 
which is a more serious condition: a password callback has come in without a 
name callback, or the name callback came in but 
{{credentials.get(nc.getDefaultName()} == null} . Either way, it could be 
reported better.

> ServerCnxnFactory.configureSaslLogin() loses stack trace on auth failures
> -------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2345
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2345
>             Project: ZooKeeper
>          Issue Type: Sub-task
>          Components: server
>    Affects Versions: 3.4.6
>            Reporter: Steve Loughran
>
> When there's a problem authenticating in 
> {{ServerCnxnFactory.configureSaslLogin() }}, the exception is retained -but 
> the full stack lost.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to