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 tes...@qpid unbind exchange name=foo queuename=bar routingkey=foo.*
Command:
qpid-config -a tester/tes...@localhost unbind foo bar foo.bar
Broker:
2009-aug-21 11:47:42 info ACL Deny id:tes...@qpid action:unbind
ObjectType:exchange Name:foo
2009-aug-21 11:47:42 error Execution exception: not-allowed: ACL denied
exchange unbind request from tes...@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:[email protected]