![]() |
Kea 3.3.4
|
Alias of an access control list. More...
#include <rbac_acl.h>
Public Member Functions | |
| AliasAcl (const std::string &name, const AclPtr &acl) | |
| Constructor. | |
| const AclPtr & | getAcl () const |
| Returns the acl. | |
| std::string | getName () const |
| Returns the name. | |
| 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. | |
Static Public Member Functions | |
| static void | parse (data::ConstElementPtr def) |
| Parse an access control list definition. | |
| 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. | |
Additional Inherited Members | |
| Protected Attributes inherited from isc::rbac::Acl | |
| std::string | name_ |
| The class name. | |
Alias of an access control list.
Definition at line 89 of file rbac_acl.h.
|
inline |
Constructor.
| acl | The aliased acl. |
| name | The alias name. |
| Unexpected | when the acl is null. |
Definition at line 97 of file rbac_acl.h.
References isc::rbac::Acl::Acl(), and isc_throw.
|
inline |
|
inline |
|
inlinefinalvirtual |
Match the access control list.
| command | The command. |
Implements isc::rbac::Acl.
Definition at line 108 of file rbac_acl.h.
|
static |
Parse an access control list definition.
| def | Definition of an access control list. |
Definition at line 134 of file rbac_acl.cc.
References isc::rbac::aclTable, isc_throw, Element::map, and isc::rbac::Acl::parse().
Referenced by isc::rbac::Config::parse().