summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/acl/AclPlugin.cpp
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2008-09-04 20:07:49 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2008-09-04 20:07:49 +0000
commitcc499337df76073192a925366aecfb3675a1dfc9 (patch)
treeefdd2353e4eee5e2e73cbe7f2885e450f1332267 /cpp/src/qpid/acl/AclPlugin.cpp
parent146561bc24885f32d7d7ed1b3d60e66e843fe6a4 (diff)
downloadqpid-python-cc499337df76073192a925366aecfb3675a1dfc9.tar.gz
QPID-107 swap the enforce defualt to ACL has to be turned on. So defualt install can do something...
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@692217 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/acl/AclPlugin.cpp')
-rw-r--r--cpp/src/qpid/acl/AclPlugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/acl/AclPlugin.cpp b/cpp/src/qpid/acl/AclPlugin.cpp
index a025354f13..6f20ea09be 100644
--- a/cpp/src/qpid/acl/AclPlugin.cpp
+++ b/cpp/src/qpid/acl/AclPlugin.cpp
@@ -40,7 +40,7 @@ struct AclOptions : public Options {
AclOptions(AclValues& v) : Options("ACL Options"), values(v) {
addOptions()
- ("no-enforce-acl", optValue(values.noEnforce), "Do not enforce ACL")
+ ("enforce-acl", optValue(values.enforce), "Enforce ACL")
("acl-file", optValue(values.aclFile, "FILE"), "The policy file to load from, loaded from data dir")
;
}
@@ -57,7 +57,7 @@ struct AclPlugin : public Plugin {
Options* getOptions() { return &options; }
void init(broker::Broker& b) {
- if (values.noEnforce){
+ if (!values.enforce){
QPID_LOG(info, "ACL Disabled, no ACL checking being done.");
return;
}