29 const string& role = cfg->stringValue();
30 if (role ==
"remote-address") {
32 }
else if (role ==
"cert-subject") {
34 }
else if (role ==
"cert-issuer") {
36 }
else if (role ==
"basic-authentication") {
38 }
else if (role ==
"custom-value") {
A generic exception that is thrown if a parameter given to a method is considered invalid in that con...
Role assignment using the basic HTTP authentication.
Role assignment using the custom value.
Role assignment using the issuer.
Role assignment using the remote address.
static RolePtr parse(data::ConstElementPtr cfg)
Parse a role assignment value.
Role assignment using the subject.
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
boost::shared_ptr< const Element > ConstElementPtr
boost::shared_ptr< Role > RolePtr
Type of shared pointers to Role.
Defines the logger used by the top-level component of kea-lfc.