Static role assignment.
More...
#include <rbac_role.h>
|
| | StaticRole (const std::string &role) |
| | Constructor.
|
| virtual std::string | assign (const http::HttpRequestPtr &request) final |
| | Assign the static role.
|
| std::string | getRole () const |
| | Return the static role.
|
| virtual void | setup (bool) final |
| | Setup HTTP library.
|
| | Role (const std::string &name) |
| | Constructor.
|
| virtual | ~Role ()=default |
| | Destructor.
|
| std::string | getName () const |
| | Returns the name.
|
Static role assignment.
Definition at line 211 of file rbac_role.h.
◆ StaticRole()
| isc::rbac::StaticRole::StaticRole |
( |
const std::string & | role | ) |
|
|
inline |
◆ assign()
Assign the static role.
- Parameters
-
| request | The HTTP request (unused). |
- Returns
- the assigned / static role.
Implements isc::rbac::Role.
Definition at line 224 of file rbac_role.h.
◆ getRole()
| std::string isc::rbac::StaticRole::getRole |
( |
| ) |
const |
|
inline |
Return the static role.
- Returns
- the static role.
Definition at line 239 of file rbac_role.h.
◆ setup()
| virtual void isc::rbac::StaticRole::setup |
( |
bool | | ) |
|
|
inlinefinalvirtual |
The documentation for this class was generated from the following file: