17 #ifndef __MESOS_ZOOKEEPER_AUTHENTICATION_HPP__ 18 #define __MESOS_ZOOKEEPER_AUTHENTICATION_HPP__ 20 #include <zookeeper.h> 31 #include <glog/logging.h> 38 const std::string& _scheme,
39 const std::string& _credentials)
44 CHECK_EQ(
scheme,
"digest") <<
"Unsupported authentication scheme";
66 CHECK_EQ(authentication.
scheme,
"digest");
72 #endif // __MESOS_ZOOKEEPER_AUTHENTICATION_HPP__ std::ostream & operator<<(std::ostream &stream, const Authentication &authentication)
Definition: authentication.hpp:61
const std::string credentials
Definition: authentication.hpp:48
Definition: authentication.hpp:33
Definition: authentication.hpp:35
const ACL_vector EVERYONE_READ_CREATOR_ALL
const ACL_vector EVERYONE_CREATE_AND_READ_CREATOR_ALL
const std::string scheme
Definition: authentication.hpp:47
Authentication(const std::string &_scheme, const std::string &_credentials)
Definition: authentication.hpp:37