summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/SemanticState.cpp
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2008-10-30 23:14:51 +0000
committerStephen D. Huston <shuston@apache.org>2008-10-30 23:14:51 +0000
commit5d74de00280c14e33964b099d6658a147479b4ca (patch)
treefec5a24b9cf3dda175ca251d5b70ac18897da243 /cpp/src/qpid/broker/SemanticState.cpp
parent2abdfc96316de133e2f27ae98027925be5e6741c (diff)
downloadqpid-python-5d74de00280c14e33964b099d6658a147479b4ca.tar.gz
Adjust ACL-related enums to avoid Windows macro clashes; fixes QPID-1368
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@709283 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SemanticState.cpp')
-rw-r--r--cpp/src/qpid/broker/SemanticState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp
index 76eacb8808..22f6316974 100644
--- a/cpp/src/qpid/broker/SemanticState.cpp
+++ b/cpp/src/qpid/broker/SemanticState.cpp
@@ -379,7 +379,7 @@ void SemanticState::route(intrusive_ptr<Message> msg, Deliverable& strategy) {
if (acl && acl->doTransferAcl())
{
- if (!acl->authorise(getSession().getConnection().getUserId(),acl::PUBLISH,acl::EXCHANGE,exchangeName, msg->getRoutingKey() ))
+ if (!acl->authorise(getSession().getConnection().getUserId(),acl::ACT_PUBLISH,acl::OBJ_EXCHANGE,exchangeName, msg->getRoutingKey() ))
throw NotAllowedException(QPID_MSG(getSession().getConnection().getUserId() << " cannot publish to " <<
exchangeName << " with routing-key " << msg->getRoutingKey()));
}