From 8ce6a530df25eae7ebf28b9897e0c6a922a7b3a4 Mon Sep 17 00:00:00 2001 From: Kim van der Riet Date: Fri, 1 Aug 2008 21:07:20 +0000 Subject: Initial framework for ACL reader git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@681824 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/acl/AclPlugin.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpp/src/qpid/acl/AclPlugin.cpp') diff --git a/cpp/src/qpid/acl/AclPlugin.cpp b/cpp/src/qpid/acl/AclPlugin.cpp index 8bc00e6a96..a025354f13 100644 --- a/cpp/src/qpid/acl/AclPlugin.cpp +++ b/cpp/src/qpid/acl/AclPlugin.cpp @@ -16,6 +16,7 @@ * */ +#include #include "qpid/acl/Acl.h" #include "qpid/broker/Broker.h" #include "qpid/Plugin.h" @@ -61,6 +62,9 @@ struct AclPlugin : public Plugin { return; } if (acl) throw Exception("ACL plugin cannot be initialized twice in one process."); + std::ostringstream oss; + oss << b.getDataDir().getPath() << "/" << values.aclFile; + values.aclFile = oss.str(); acl = new Acl(values, b); b.setAcl(acl.get()); b.addFinalizer(boost::bind(&AclPlugin::shutdown, this)); -- cgit v1.2.1