Provides ControlCommand authorization according to NFD configuration file. More...
#include <daemon/mgmt/command-authenticator.hpp>
Inheritance diagram for nfd::CommandAuthenticator:
Collaboration diagram for nfd::CommandAuthenticator:Public Member Functions | |
| ndn::mgmt::Authorization | makeAuthorization (const std::string &module, const std::string &verb) |
| void | setConfigFile (ConfigFile &configFile) |
Static Public Member Functions | |
| static shared_ptr< CommandAuthenticator > | create () |
Provides ControlCommand authorization according to NFD configuration file.
Definition at line 45 of file command-authenticator.hpp.
|
static |
Definition at line 100 of file command-authenticator.cpp.
| ndn::mgmt::Authorization nfd::CommandAuthenticator::makeAuthorization | ( | const std::string & | module, |
| const std::string & | verb | ||
| ) |
| module | management module name |
| verb | command verb; currently it's ignored |
Definition at line 208 of file command-authenticator.cpp.
| void nfd::CommandAuthenticator::setConfigFile | ( | ConfigFile & | configFile | ) |
Definition at line 108 of file command-authenticator.cpp.