]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1883] fixed compilation and unittests
authorRazvan Becheriu <razvan@isc.org>
Fri, 21 May 2021 17:13:48 +0000 (20:13 +0300)
committerRazvan Becheriu <razvan@isc.org>
Fri, 21 May 2021 19:24:57 +0000 (19:24 +0000)
src/bin/netconf/netconf_cfg_mgr.h

index d1e40597cb3710d80f1b118c3520d6bafffb01c1..9d27526b1fd8b49e85bedc85975bbaf8af1dfdf2 100644 (file)
@@ -146,6 +146,13 @@ public:
     /// @return Summary of the configuration in the textual format.
     virtual std::string getConfigSummary(const uint32_t selection);
 
+    /// @brief Return a list of all paths that contain passwords or secrets for
+    /// kea-netconf.
+    ///
+    /// @return the list of lists of sequential JSON map keys needed to reach
+    /// the passwords and secrets.
+    std::list<std::list<std::string>> jsonPathsToRedact() const;
+
 protected:
 
     /// @brief Parses configuration of Netconf.