Kea  1.9.9-git
auth_messages.cc
Go to the documentation of this file.
1 // File created from ../../../src/lib/http/auth_messages.mes
2 
3 #include <cstddef>
4 #include <log/message_types.h>
6 
7 namespace isc {
8 namespace http {
9 
10 extern const isc::log::MessageID HTTP_CLIENT_REQUEST_AUTHORIZED = "HTTP_CLIENT_REQUEST_AUTHORIZED";
11 extern const isc::log::MessageID HTTP_CLIENT_REQUEST_BAD_AUTH_HEADER = "HTTP_CLIENT_REQUEST_BAD_AUTH_HEADER";
12 extern const isc::log::MessageID HTTP_CLIENT_REQUEST_NOT_AUTHORIZED = "HTTP_CLIENT_REQUEST_NOT_AUTHORIZED";
13 extern const isc::log::MessageID HTTP_CLIENT_REQUEST_NO_AUTH_HEADER = "HTTP_CLIENT_REQUEST_NO_AUTH_HEADER";
14 
15 } // namespace http
16 } // namespace isc
17 
18 namespace {
19 
20 const char* values[] = {
21  "HTTP_CLIENT_REQUEST_AUTHORIZED", "received HTTP request authorized for '%1'",
22  "HTTP_CLIENT_REQUEST_BAD_AUTH_HEADER", "received HTTP request with malformed authentication header: %1",
23  "HTTP_CLIENT_REQUEST_NOT_AUTHORIZED", "received HTTP request with not matching authentication header",
24  "HTTP_CLIENT_REQUEST_NO_AUTH_HEADER", "received HTTP request without required authentication header",
25  NULL
26 };
27 
29 
30 } // Anonymous namespace
31 
const isc::log::MessageID HTTP_CLIENT_REQUEST_NO_AUTH_HEADER
Definition: auth_messages.h:14
Initializer initializer
const isc::log::MessageID HTTP_CLIENT_REQUEST_NOT_AUTHORIZED
Definition: auth_messages.h:13
Initialize Message Dictionary.
const isc::log::MessageID HTTP_CLIENT_REQUEST_AUTHORIZED
Definition: auth_messages.h:11
const isc::log::MessageID HTTP_CLIENT_REQUEST_BAD_AUTH_HEADER
Definition: auth_messages.h:12
Defines the logger used by the top-level component of kea-dhcp-ddns.
const char * MessageID
Definition: message_types.h:15