From 291bbc2729009bac61602fcb268af619df764bbb Mon Sep 17 00:00:00 2001 From: "Charles E. Rolke" Date: Tue, 4 Mar 2014 21:46:24 +0000 Subject: QPID-5599: C++ Broker silently ignores --max-connections option when no ACL file is loaded Temporarily revert creation of ACL with null rule set as it subverts the CREATE LINK security check and self test. Real fix coming shortly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574219 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/acl/AclPlugin.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'qpid/cpp/src/qpid/acl') diff --git a/qpid/cpp/src/qpid/acl/AclPlugin.cpp b/qpid/cpp/src/qpid/acl/AclPlugin.cpp index 8a8223230f..04044867ec 100644 --- a/qpid/cpp/src/qpid/acl/AclPlugin.cpp +++ b/qpid/cpp/src/qpid/acl/AclPlugin.cpp @@ -71,11 +71,11 @@ struct AclPlugin : public Plugin { sys::Path dataDir(b.getDataDir().getPath()); if (!aclFile.isAbsolute() && !dataDir.empty()) values.aclFile = (dataDir + aclFile).str(); - } - acl = new Acl(values, b); - b.setAcl(acl.get()); - b.addFinalizer(boost::bind(&AclPlugin::shutdown, this)); + acl = new Acl(values, b); + b.setAcl(acl.get()); + b.addFinalizer(boost::bind(&AclPlugin::shutdown, this)); + } } template bool init(Plugin::Target& target) { -- cgit v1.2.1