On 29 June 2016 at 13:17, Gordon Sim <[email protected]> wrote:
> On 27/06/16 17:33, Robbie Gemmell wrote:
>>
>> Hi folks,
>>
>> I have put together a spin for a 0.10.0 Qpid JMS client release, please
>> test it and vote accordingly.
>>
>> The source and binary archives can be grabbed from here:
>> https://dist.apache.org/repos/dist/dev/qpid/jms/0.10.0-rc1/
>>
>> Those files and the other maven artifacts are also staged for now at:
>> https://repository.apache.org/content/repositories/orgapacheqpid-1078
>
>
> +1
>
> One observation, when running the examples, by default they attempt to use
> PLAIN with guest:guest. This doesn't appear to be driven by the connection
> string or anything else in the jndi properties. Is it a hardcoded default?
> Even if the broker/server connected to supports ANONYMOUS and puts that
> first in the list of offered mechanisms, it isn't chosen.
>
>

There is some 'mechanism priorirty' inherent in the SASL impl thats
been in the client since its first release, ever since we merged the
earlier separate work Tim and I had done. Its picking PLAIN despite
the sasl-init 'server preference' because it was offered by the server
and sorted higher (at the client, in its sasl impl) than ANONYMOUS,
which has the 'lowest priority'. Its usiong guest:guest as those are
the credentials passed to the connection factory when creating the
connection.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to