You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2009/01/20 17:24:59 UTC

[jira] Commented: (QPID-1307) SimpleXML ACL does not allow user to consume from temporary queues and named queues

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

Martin Ritchie commented on QPID-1307:
--------------------------------------

The problem here is that the temporary value is stored as a global for a user and set based on the presence (or lack there of) in a <queue> block.

This means that if access to temporary queues is desired then currently the last <queue> entry must contain the <temporary/>  tag. 

What should happen is that the temporary should be set by the presence of the <temporary/> tag but not unset by the lack of it.

> SimpleXML ACL does not allow user to consume from temporary queues and named queues
> -----------------------------------------------------------------------------------
>
>                 Key: QPID-1307
>                 URL: https://issues.apache.org/jira/browse/QPID-1307
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: M2.1, M3
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>             Fix For: M5
>
>
> If an ACL is configured such that a user has rights to consume from a temporary queue and a named queue such as:
> <queue>
>     <name>TestQueue</name>
>     <users>
>         <user>martin</user>
>     </users>
> </queue>
> <queue>
>     <temporary/>
>     <users>
>         <user>martin</user>
>     </users>
> </queue>
> Then the granting of access to temporary queues will prevent access to named queues.

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