qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Ross (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-3654) ANONYMOUS SASL mechanism does not work on Java client
Date Wed, 30 Nov 2011 21:25:40 GMT

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

Justin Ross commented on QPID-3654:
-----------------------------------

Reviewed by Rajith and approved for 0.14.  This addresses a regression versus 0.10.
                
> ANONYMOUS SASL mechanism does not work on Java client
> -----------------------------------------------------
>
>                 Key: QPID-3654
>                 URL: https://issues.apache.org/jira/browse/QPID-3654
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.14, 0.15
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>             Fix For: 0.15
>
>
> A trivial program which just tries to make a Connection fails if it uses a connection
URL like:
> amqp://anonymous:@client/test?brokerlist='tcp://localhost?sasl_mechs='ANONYMOUS''
> This forces the client to use ANONYMOUS.
> Program snippet:
> import javax.jms.Connection;
> import javax.jms.ConnectionFactory;
> ...
> ConnectionFactory connectionFactory = ...
> Connection connection = connectionFactory.createConnection();
> FAILS HERE ^^^
> With exception:
> org.apache.qpid.transport.ConnectionException: Client and broker have no SASL mechanisms
in common. Broker allows : PLAIN DIGEST-MD5 ANONYMOUS LOGIN CRAM-MD5 Client has : [EXTERNAL,
GSSAPI, CRAM-MD5-HASHED, CRAM-MD5, AMQPLAIN, PLAIN] Client restricted itself to : ANONYMOUS
> Notice that the client doesn't think it supports ANONYMOUS.

--
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

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message