26 #ifndef NFD_DAEMON_MGMT_COMMAND_AUTHENTICATOR_HPP 27 #define NFD_DAEMON_MGMT_COMMAND_AUTHENTICATOR_HPP 30 #include <ndn-cxx/mgmt/dispatcher.hpp> 47 static shared_ptr<CommandAuthenticator>
58 ndn::mgmt::Authorization
59 makeAuthorization(
const std::string& module,
const std::string& verb);
68 processConfig(
const ConfigSection& section,
bool isDryRun,
const std::string& filename);
72 std::unordered_map<std::string, shared_ptr<ndn::security::v2::Validator>> m_validators;
77 #endif // NFD_DAEMON_MGMT_COMMAND_AUTHENTICATOR_HPP
Copyright (c) 2014-2017, Regents of the University of California, Arizona Board of Regents...
configuration file parsing utility
void setConfigFile(ConfigFile &configFile)
provides ControlCommand authorization according to NFD configuration file
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
boost::property_tree::ptree ConfigSection
a config file section