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

Gordon Sim commented on QPID-3246:
----------------------------------

"If the broker is only supporting ANONYMOUS (or CRAM-MD5) then the client 
should throw an exception as it's configured to use PLAIN by default."

Right, and that is the problem. If the user hasn't explicitly restricted the 
acceptable mechanisms to PLAIN, why is the JMS client library doing so on their 
behalf? If that is what they want they can of course set the sasl_mechs. 
Barring any explicit restrictions however one would expect the client to allow 
any mechanism that it supprts and that is offered by the broker to be used 
(i.e. the "mutually supported list").

> JMS client on 0-10 codepath sets chosen mech to PLAIN by default
> ----------------------------------------------------------------
>
>                 Key: QPID-3246
>                 URL: https://issues.apache.org/jira/browse/QPID-3246
>             Project: Qpid
>          Issue Type: Improvement
>            Reporter: Gordon Sim
>
> would be better to allow the underlying sasl libraries to determine the 
> available mechs from those registered. As it is, changing from PLAIN requires 
> expcliti client configuration for java - there is no negotiation by default.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to