Kea 3.3.4
isc::rbac::AccessAcl Class Reference

Read or write access control list. More...

#include <rbac_acl.h>

Inheritance diagram for isc::rbac::AccessAcl:

Public Member Functions

 AccessAcl (const std::string &access)
 Constructor.
std::string getAccess () const
 Returns the access.
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.

Detailed Description

Read or write access control list.

Definition at line 350 of file rbac_acl.h.

Constructor & Destructor Documentation

◆ AccessAcl()

isc::rbac::AccessAcl::AccessAcl ( const std::string & access)
inline

Constructor.

Parameters
accessThe access read or write.

Definition at line 356 of file rbac_acl.h.

References isc::rbac::Acl::Acl().

Here is the call graph for this function:

Member Function Documentation

◆ getAccess()

std::string isc::rbac::AccessAcl::getAccess ( ) const
inline

Returns the access.

Returns
the access.

Definition at line 370 of file rbac_acl.h.

◆ match()

virtual bool isc::rbac::AccessAcl::match ( const std::string & command)
inlinefinalvirtual

Match the access control list.

Returns
whether the command access matches.

Implements isc::rbac::Acl.

Definition at line 362 of file rbac_acl.h.

References isc::rbac::Api::getApiByName().

Here is the call graph for this function:

The documentation for this class was generated from the following file: