![]() |
Kea 3.3.4
|
Explicit access control list. More...
#include <rbac_acl.h>
Public Member Functions | |
| CommandsAcl (const std::set< std::string > &commands) | |
| Constructor. | |
| void | add (const std::string &command) |
| Add a command name. | |
| const std::set< std::string > & | getCommands () const |
| Returns the command names. | |
| virtual bool | match (const std::string &command) final |
| Match the access control list. | |
| Public Member Functions inherited from isc::rbac::Acl | |
| Acl (const std::string &name) | |
| Constructor. | |
| virtual | ~Acl ()=default |
| Destructor. | |
| std::string | getClassName () const |
| Returns the class name. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from isc::rbac::Acl | |
| static void | initTable () |
| Initialize the access control list table. | |
| static AclPtr | parse (data::ConstElementPtr cfg) |
| Parse an access control list. | |
| static AclList | parseList (data::ConstElementPtr cfg) |
| Parse a list of access control lists. | |
| Protected Attributes inherited from isc::rbac::Acl | |
| std::string | name_ |
| The class name. | |
Explicit access control list.
Definition at line 312 of file rbac_acl.h.
|
inline |
Constructor.
| commands | The set of command names. |
Definition at line 318 of file rbac_acl.h.
References isc::rbac::Acl::Acl().
|
inline |
Add a command name.
| command | The command name to add. |
Definition at line 325 of file rbac_acl.h.
|
inline |
|
inlinefinalvirtual |
Match the access control list.
Implements isc::rbac::Acl.
Definition at line 333 of file rbac_acl.h.