[ 
https://issues.apache.org/jira/browse/QPID-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajith Attapattu updated QPID-2290:
-----------------------------------

    Attachment: QPID-2290.patch

The commit made at rev 892123 on Qpid trunk has a few concerns about the use of 
append, as it's a relatively expensive operation as it results in several 
memory allocations.
The attached patch uses a slightly different approach.
If the userID != id supplied in the message it will then compare the userName 
against the id supplied in the message provided the user is from the default 
domain.
Will commit this as soon as the trunk is reopened or a branch created.

> 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
>
>         Attachments: QPID-2290.patch
>
>
> Email from prat...@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 : prat...@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-subscr...@qpid.apache.org

Reply via email to