Kea 3.3.4
isc::rbac::IssuerRole Class Reference

Role assignment using the issuer. More...

#include <rbac_role.h>

Inheritance diagram for isc::rbac::IssuerRole:

Public Member Functions

 IssuerRole ()
 Constructor.
virtual std::string assign (const http::HttpRequestPtr &request) final
 Assign the role from the remote issuer.
virtual void setup (bool load) final
 Setup HTTP library.
Public Member Functions inherited from isc::rbac::Role
 Role (const std::string &name)
 Constructor.
virtual ~Role ()=default
 Destructor.
std::string getName () const
 Returns the name.

Additional Inherited Members

Static Public Member Functions inherited from isc::rbac::Role
static RolePtr parse (data::ConstElementPtr cfg)
 Parse a role assignment value.
static bool requireTls (const http::HttpRequestPtr &request)
 Require TLS.
Protected Attributes inherited from isc::rbac::Role
std::string name_
 The class name.

Detailed Description

Role assignment using the issuer.

Definition at line 130 of file rbac_role.h.

Constructor & Destructor Documentation

◆ IssuerRole()

isc::rbac::IssuerRole::IssuerRole ( )
inline

Constructor.

Definition at line 134 of file rbac_role.h.

References isc::rbac::Role::Role().

Here is the call graph for this function:

Member Function Documentation

◆ assign()

virtual std::string isc::rbac::IssuerRole::assign ( const http::HttpRequestPtr & request)
inlinefinalvirtual

Assign the role from the remote issuer.

Parameters
requestThe HTTP request.
Returns
the assigned role.

Implements isc::rbac::Role.

Definition at line 141 of file rbac_role.h.

◆ setup()

virtual void isc::rbac::IssuerRole::setup ( bool load)
inlinefinalvirtual

Setup HTTP library.

Parameters
loadTrue if at load, false at unload.

Implements isc::rbac::Role.

Definition at line 152 of file rbac_role.h.

References load(), and isc::http::HttpRequest::recordIssuer_.

Here is the call graph for this function:

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