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