qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandy Pratt (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Commented: (QPID-2290) Unauthorised-access exception raised when sending message from JMS on connection authenticated using PLAIN mechanism
Date Thu, 17 Dec 2009 21:52:18 GMT

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

Sandy Pratt commented on QPID-2290:
-----------------------------------

I was able to work around this issue by changing line 57 of org.apache.qpid.client.BasicMessageProducer_0_10
as follows:

userIDBytes = Strings.toUTF8(_userID + "@QPID");

from

userIDBytes = Strings.toUTF8(_userID);

My auth-realm on the server is the default (QPID).

> Unauthorised-access exception raised when sending message from JMS on connection authenticated
using PLAIN mechanism 
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-2290
>                 URL: https://issues.apache.org/jira/browse/QPID-2290
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.6
>            Reporter: Gordon Sim
>            Assignee: Rajith Attapattu
>            Priority: Blocker
>             Fix For: 0.6
>
>
> Email from prattrs@adobe.com on user list states: 
> > when I enable auth=yes, I get the following:
> > 
> > 2009-12-16 18:33:18 error qpid/amqp_0_10/SessionHandler.cpp:97: Execution exception:
unauthorized-access: authorised user id : prattrs@QPID but user id in message decla
> > red as prattrs (qpid/broker/SemanticState.cpp:435)
> I believe this is a result of the change brought in by r819819 to address QPID-2129.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message