You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Tim Platten (JIRA)" <qp...@incubator.apache.org> on 2009/08/21 12:15:14 UTC
[jira] Created: (QPID-2062) ACL processing does not handle
wildcards correctly
ACL processing does not handle wildcards correctly
--------------------------------------------------
Key: QPID-2062
URL: https://issues.apache.org/jira/browse/QPID-2062
Project: Qpid
Issue Type: Bug
Components: C++ Broker
Affects Versions: 0.5
Reporter: Tim Platten
There seems to be a problem processing wildcards in ACL. e.g.
ACL:
acl allow tester@QPID unbind exchange name=foo queuename=bar routingkey=foo.*
Command:
qpid-config -a tester/tester@localhost unbind foo bar foo.bar
Broker:
2009-aug-21 11:47:42 info ACL Deny id:tester@QPID action:unbind ObjectType:exchange Name:foo
2009-aug-21 11:47:42 error Execution exception: not-allowed: ACL denied exchange unbind request from tester@QPID (qpid/broker/SessionAdapter.cpp:203)
I believe this is due to a bug in AclData::lookup
}else if (!matchProp(paramItr->second, pMItr->second)){
should read
}else if (!matchProp(pMItr->second, paramItr->second)){
--
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
[jira] Assigned: (QPID-2062) ACL processing does not handle
wildcards correctly
Posted by "Carl Trieloff (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Trieloff reassigned QPID-2062:
-----------------------------------
Assignee: Rajith Attapattu
> ACL processing does not handle wildcards correctly
> --------------------------------------------------
>
> Key: QPID-2062
> URL: https://issues.apache.org/jira/browse/QPID-2062
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.5
> Reporter: Tim Platten
> Assignee: Rajith Attapattu
>
> There seems to be a problem processing wildcards in ACL. e.g.
> ACL:
> acl allow tester@QPID unbind exchange name=foo queuename=bar routingkey=foo.*
> Command:
> qpid-config -a tester/tester@localhost unbind foo bar foo.bar
> Broker:
> 2009-aug-21 11:47:42 info ACL Deny id:tester@QPID action:unbind ObjectType:exchange Name:foo
> 2009-aug-21 11:47:42 error Execution exception: not-allowed: ACL denied exchange unbind request from tester@QPID (qpid/broker/SessionAdapter.cpp:203)
> I believe this is due to a bug in AclData::lookup
> }else if (!matchProp(paramItr->second, pMItr->second)){
> should read
> }else if (!matchProp(pMItr->second, paramItr->second)){
--
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
[jira] Resolved: (QPID-2062) ACL processing does not handle
wildcards correctly
Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajith Attapattu resolved QPID-2062.
------------------------------------
Resolution: Fixed
Applied patch from Tim at rev 813850 (trunk) and I also added test cases at the same rev.
> ACL processing does not handle wildcards correctly
> --------------------------------------------------
>
> Key: QPID-2062
> URL: https://issues.apache.org/jira/browse/QPID-2062
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.5
> Reporter: Tim Platten
> Assignee: Rajith Attapattu
>
> There seems to be a problem processing wildcards in ACL. e.g.
> ACL:
> acl allow tester@QPID unbind exchange name=foo queuename=bar routingkey=foo.*
> Command:
> qpid-config -a tester/tester@localhost unbind foo bar foo.bar
> Broker:
> 2009-aug-21 11:47:42 info ACL Deny id:tester@QPID action:unbind ObjectType:exchange Name:foo
> 2009-aug-21 11:47:42 error Execution exception: not-allowed: ACL denied exchange unbind request from tester@QPID (qpid/broker/SessionAdapter.cpp:203)
> I believe this is due to a bug in AclData::lookup
> }else if (!matchProp(paramItr->second, pMItr->second)){
> should read
> }else if (!matchProp(pMItr->second, paramItr->second)){
--
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