Kea 3.3.4
isc::rbac::HookAcl Class Reference

Hook access control list. More...

#include <rbac_acl.h>

Inheritance diagram for isc::rbac::HookAcl:

Public Member Functions

 HookAcl (const std::string &hook)
 Constructor.
std::string getHook () const
 Returns the hook.
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

Hook access control list.

Definition at line 380 of file rbac_acl.h.

Constructor & Destructor Documentation

◆ HookAcl()

isc::rbac::HookAcl::HookAcl ( const std::string & hook)
inline

Constructor.

Parameters
hookThe hook name.

Definition at line 386 of file rbac_acl.h.

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

Here is the call graph for this function:

Member Function Documentation

◆ getHook()

std::string isc::rbac::HookAcl::getHook ( ) const
inline

Returns the hook.

Returns
the hook.

Definition at line 400 of file rbac_acl.h.

◆ match()

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

Match the access control list.

Returns
whether the command is registered by the specified hook.

Implements isc::rbac::Acl.

Definition at line 392 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: