summaryrefslogtreecommitdiffstats
path: root/phosphor-ldap-mapper/ldap_mapper_mgr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'phosphor-ldap-mapper/ldap_mapper_mgr.hpp')
-rw-r--r--phosphor-ldap-mapper/ldap_mapper_mgr.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/phosphor-ldap-mapper/ldap_mapper_mgr.hpp b/phosphor-ldap-mapper/ldap_mapper_mgr.hpp
index b2617ca..ae8f6c9 100644
--- a/phosphor-ldap-mapper/ldap_mapper_mgr.hpp
+++ b/phosphor-ldap-mapper/ldap_mapper_mgr.hpp
@@ -38,8 +38,10 @@ class LDAPMapperMgr : public MapperMgrIface
*
* @param[in] bus - sdbusplus handler
* @param[in] path - D-Bus path
+ * @param[in] filePath - serialization directory path
*/
- LDAPMapperMgr(sdbusplus::bus::bus &bus, const char *path);
+ LDAPMapperMgr(sdbusplus::bus::bus &bus, const char *path,
+ const char *filePath);
/** @brief Creates a mapping for the group to the privilege
*
@@ -92,6 +94,9 @@ class LDAPMapperMgr : public MapperMgrIface
/** @brief object path for the manager object*/
const std::string path;
+ /** @brief serialization directory path */
+ std::string persistPath;
+
/** @brief available privileges container */
std::set<std::string> privMgr = {"priv-admin", "priv-operator", "priv-user",
"priv-callback"};
OpenPOWER on IntegriCloud