You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Sandy Pratt (JIRA)" <qp...@incubator.apache.org> on 2009/12/17 22:52:18 UTC

[jira] Commented: (QPID-2290) Unauthorised-access exception raised when sending message from JMS on connection authenticated using PLAIN mechanism

    [ 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