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

[jira] Commented: (QPID-1610) Can't allow both temporary and durable topic subscriptions for the same user with ACLs

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

Aidan Skinner commented on QPID-1610:
-------------------------------------

It's worth noting there's a workaround for this, just use different users for temporary and durable topic subscriptions. 

> Can't allow both temporary and durable topic subscriptions for the same user with ACLs
> --------------------------------------------------------------------------------------
>
>                 Key: QPID-1610
>                 URL: https://issues.apache.org/jira/browse/QPID-1610
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: M4, M5
>            Reporter: Aidan Skinner
>
> PrincipalPermissions.authorise does not allow temporary queues and named queues to be created by the same user due to the check currently only line 471:
> // If there is a white list then check
> return create_queues_queues == null || create_queues_queues.containsKey(queueName);
> create_queues_queueus will never be null, it should check size() == 0 like the equivalent test in the CONSUME case does. 

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