diff options
Diffstat (limited to 'qpid/cpp/src/qpid/acl/Acl.cpp')
-rw-r--r-- | qpid/cpp/src/qpid/acl/Acl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/qpid/acl/Acl.cpp b/qpid/cpp/src/qpid/acl/Acl.cpp index f4ed9834d9..982b9e3bb0 100644 --- a/qpid/cpp/src/qpid/acl/Acl.cpp +++ b/qpid/cpp/src/qpid/acl/Acl.cpp @@ -43,7 +43,7 @@ using namespace std; bool Acl::authorise(const std::string& id, const Action& action, const ObjectType& objType, const std::string& name, std::map<Property, std::string>* params) { - if (aclValues.noEnforce) return true; + if (!aclValues.enforce) return true; boost::shared_ptr<AclData> dataLocal = data; //rcu copy // add real ACL check here... @@ -55,7 +55,7 @@ using namespace std; bool Acl::authorise(const std::string& id, const Action& action, const ObjectType& objType, const std::string& ExchangeName, const std::string& RoutingKey) { - if (aclValues.noEnforce) return true; + if (!aclValues.enforce) return true; boost::shared_ptr<AclData> dataLocal = data; //rcu copy // only use dataLocal here... |