Kea 2.7.5
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
7namespace isc {
8namespace http {
9
10extern const isc::log::MessageID HTTP_CLIENT_REQUEST_AUTHORIZED = "HTTP_CLIENT_REQUEST_AUTHORIZED";
11extern const isc::log::MessageID HTTP_CLIENT_REQUEST_BAD_AUTH_HEADER = "HTTP_CLIENT_REQUEST_BAD_AUTH_HEADER";
12extern const isc::log::MessageID HTTP_CLIENT_REQUEST_NOT_AUTHORIZED = "HTTP_CLIENT_REQUEST_NOT_AUTHORIZED";
13extern const isc::log::MessageID HTTP_CLIENT_REQUEST_NO_AUTH_HEADER = "HTTP_CLIENT_REQUEST_NO_AUTH_HEADER";
14
15} // namespace http
16} // namespace isc
17
18namespace {
19
20const 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
28const isc::log::MessageInitializer initializer(values);
29
30} // Anonymous namespace
31
Initialize Message Dictionary.
const isc::log::MessageID HTTP_CLIENT_REQUEST_NOT_AUTHORIZED
const isc::log::MessageID HTTP_CLIENT_REQUEST_BAD_AUTH_HEADER
const isc::log::MessageID HTTP_CLIENT_REQUEST_AUTHORIZED
const isc::log::MessageID HTTP_CLIENT_REQUEST_NO_AUTH_HEADER
const char * MessageID
Defines the logger used by the top-level component of kea-lfc.