#include "interfaces.h" class LDAPReader: public IMySQLLDAPAuthModule { public: LDAPReader(const std::string& uri, const std::string& attribute, const std::string& baseDn); ~LDAPReader(); bool Authenticate(const std::string& username, const std::string& password) override; private: void* InitConnection(); const std::string uri; const std::string attribute; const std::string baseDn; };