"comment" entry into a user context with the entry, which allows a
comment to be attached within the configuration itself.
-The basic HTTP authentication was added by Kea 1.7.10. It protects
+The basic HTTP authentication was added by Kea 1.9.0. It protects
against not authorized uses of the control agent by local users. For the
protection against remote attackers HTTPS and reverse proxy of
:ref:`agent-secure-connection` provide a stronger security.
this example, there is one backup server which receives lease updates
from the active servers.
-Since Kea version 1.7.10 the basic HTTP authentication is available
+Since Kea version 1.9.0 the basic HTTP authentication is available
to protect the Kea control agent against local attackers.
These are the parameters specified for each of the peers within this
}
}
-Since Kea version 1.7.10 the basic HTTP authentication is supported.
+Since Kea version 1.9.0 the basic HTTP authentication is supported.
.. _ha-maintenance:
environment, it is not interactive. However, following simple guidelines it can
be run manually.
-Kea 1.7.10 introduced basic HTTP authentication support.
+Kea 1.9.0 introduced basic HTTP authentication support.
Shell Usage
===========
than as a serious management client. It is not likely to be
significantly expanded in the future; it is, and will remain, a simple
tool.
+
+.. note::
+
+ When using this tool with basic HTTP authentication please not forget
+ that command line arguments are not hidden to local users.
namespace isc {
namespace http {
-/// @brief Type of basic HTTP authentication credential and user id map.
+/// @brief Type of basic HTTP authentication credential and user id map,
+/// e.g. map["am9obmRvZTpzZWNyZXQx" = "johndoe".
+///
+/// The map is used to verify a received credential: if it is not in it
+/// the authentication fails, if it is in it the user id is logged.
typedef std::unordered_map<std::string, std::string> BasicHttpAuthMap;
/// @brief Basic HTTP authentication client configuration.
private:
- /// @brief The user id.
+ /// @brief The user id e.g. johndoe.
std::string user_;
- /// @brief The password.
+ /// @brief The password e.g. secret1.
std::string password_;
};