![]() |
Kea 3.3.4
|
RBAC Configuration class. More...
#include <rbac_config.h>
Public Member Functions | |
| Config () | |
| Constructor. | |
| const std::string & | getApiFiles () const |
| Get the directory where to find API files. | |
| bool | getRequireTls () const |
| Get require TLS flag. | |
| void | init () |
| Initialization. | |
| void | setApiFiles (const std::string &api_files) |
| Set the directory where to find API files. | |
| void | setRequireTls (bool require_tls) |
| Set require TLS flag. | |
Static Public Member Functions | |
| static void | parse (data::ConstElementPtr cfg) |
| Parse the configuration. | |
Static Public Attributes | |
| static const data::SimpleKeywords | RBAC_PARAMETERS |
| Configuration parameters. | |
| static const data::SimpleRequiredKeywords | RBAC_REQUIRED_PARAMETERS |
| Configuration required parameters. | |
RBAC Configuration class.
Definition at line 17 of file rbac_config.h.
|
inline |
Constructor.
Definition at line 20 of file rbac_config.h.
|
inline |
Get the directory where to find API files.
Definition at line 40 of file rbac_config.h.
|
inline |
| void isc::rbac::Config::init | ( | ) |
Initialization.
Definition at line 42 of file rbac_config.cc.
References isc::rbac::ResponseFilter::initResponseFilterTable(), and isc::rbac::Acl::initTable().
|
static |
Parse the configuration.
| cfg | Configuration element. |
Definition at line 50 of file rbac_config.cc.
References isc::data::SimpleParser::checkKeywords(), isc::data::SimpleParser::checkRequired(), isc::log::DBGLVL_TRACE_BASIC, isc::rbac::defaultRoleConfig, isc::rbac::Api::fillApiTable(), isc_throw, LOG_DEBUG, Element::map, isc::rbac::AliasAcl::parse(), isc::rbac::Api::parse(), isc::rbac::Role::parse(), isc::rbac::RoleConfig::parse(), RBAC_CONFIGURED_ACLS, RBAC_CONFIGURED_COMMANDS, RBAC_CONFIGURED_ROLES, isc::rbac::rbac_logger, RBAC_PARAMETERS, RBAC_REQUIRED_PARAMETERS, isc::rbac::rbacConfig, isc::rbac::roleAssign, isc::rbac::roleConfigTable, and isc::rbac::unknownRoleConfig.
Referenced by load().
|
inline |
Set the directory where to find API files.
| api_files | The directory where to find API files. |
Definition at line 47 of file rbac_config.h.
|
inline |
Set require TLS flag.
| require_tls | Require TLS flag. |
Definition at line 61 of file rbac_config.h.
|
static |
Configuration parameters.
Definition at line 24 of file rbac_config.h.
Referenced by parse().
|
static |
Configuration required parameters.
Definition at line 27 of file rbac_config.h.
Referenced by parse().