summaryrefslogtreecommitdiffstats
path: root/phosphor-ldap-mapper/ldap_mapper_entry.hpp
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2018-09-30 01:42:59 +0530
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-10-04 14:27:10 -0400
commit0b14c471fc77cbcb93f435a46878b25f57741e0e (patch)
treea0048f6956d1969c2eb9f0103fd2475a7afc6ae1 /phosphor-ldap-mapper/ldap_mapper_entry.hpp
parent536ea32ddc61bc3f5ad34eada5788797e1771832 (diff)
downloadphosphor-user-manager-0b14c471fc77cbcb93f435a46878b25f57741e0e.tar.gz
phosphor-user-manager-0b14c471fc77cbcb93f435a46878b25f57741e0e.zip
ldap: Add persistence for LDAP mapper D-Bus objects
Change-Id: Ib8979a7c655f74c332d80e7fb221ef03e9a3f83c Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'phosphor-ldap-mapper/ldap_mapper_entry.hpp')
-rw-r--r--phosphor-ldap-mapper/ldap_mapper_entry.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/phosphor-ldap-mapper/ldap_mapper_entry.hpp b/phosphor-ldap-mapper/ldap_mapper_entry.hpp
index 689639d..ea8a0bc 100644
--- a/phosphor-ldap-mapper/ldap_mapper_entry.hpp
+++ b/phosphor-ldap-mapper/ldap_mapper_entry.hpp
@@ -46,6 +46,15 @@ class LDAPMapperEntry : public Ifaces
const std::string &groupName, const std::string &privilege,
LDAPMapperMgr &parent);
+ /** @brief Constructs LDAP privilege mapper entry object
+ *
+ * @param[in] bus - sdbusplus handler
+ * @param[in] path - D-Bus path
+ * @param[in] parent - LDAP privilege mapper manager
+ */
+ LDAPMapperEntry(sdbusplus::bus::bus &bus, const char *path,
+ LDAPMapperMgr &parent);
+
/** @brief Delete privilege mapper entry object
*
* This method deletes the privilege mapper entry.
OpenPOWER on IntegriCloud