Kea 3.3.4
isc::rbac::NotAcl Class Reference

Boolean operators. More...

#include <rbac_acl.h>

Inheritance diagram for isc::rbac::NotAcl:

Public Member Functions

 NotAcl (const AclPtr &acl)
 Constructor.
const AclPtr & getAcl () const
 Returns the acl.
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

Boolean operators.

Negation of an access control list.

Definition at line 142 of file rbac_acl.h.

Constructor & Destructor Documentation

◆ NotAcl()

isc::rbac::NotAcl::NotAcl ( const AclPtr & acl)
inline

Constructor.

Parameters
aclThe acl to negate.
Exceptions
Unexpectedwhen the acl is null.

Definition at line 149 of file rbac_acl.h.

References isc::rbac::Acl::Acl(), and isc_throw.

Here is the call graph for this function:

Member Function Documentation

◆ getAcl()

const AclPtr & isc::rbac::NotAcl::getAcl ( ) const
inline

Returns the acl.

Returns
the acl.

Definition at line 166 of file rbac_acl.h.

◆ match()

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

Match the access control list.

Parameters
commandThe command.
Returns
the negation of the acl matching.

Implements isc::rbac::Acl.

Definition at line 159 of file rbac_acl.h.


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