24#ifndef AUTH_LDAP_SASL_MECHANISM_H_
25#define AUTH_LDAP_SASL_MECHANISM_H_
33#if defined(KERBEROS_LIB_CONFIGURED)
56#if defined(KERBEROS_LIB_CONFIGURED)
65 std::unique_ptr<auth_ldap_client_kerberos_context::Kerberos>
m_kerberos;
const char SASL_SCRAM_SHA256[]
Definition: auth_ldap_sasl_mechanism.h:40
const int SASL_ERROR_INVALID_METHOD
Definition: auth_ldap_sasl_mechanism.h:41
const char SASL_SCRAM_SHA1[]
Definition: auth_ldap_sasl_mechanism.h:39
const char SASL_GSSAPI[]
Definition: auth_ldap_sasl_mechanism.h:38
Definition: auth_ldap_sasl_mechanism.h:57
std::unique_ptr< auth_ldap_client_kerberos_context::Kerberos > m_kerberos
Definition: auth_ldap_sasl_mechanism.h:65
Sasl_mechanism_kerberos()
bool pre_authentication() override
Definition: auth_ldap_sasl_mechanism.cc:48
~Sasl_mechanism_kerberos() override
void get_ldap_host(std::string &host) override
Definition: auth_ldap_sasl_mechanism.cc:102
Definition: auth_ldap_sasl_mechanism.h:43
virtual ~Sasl_mechanism()
std::string m_user
Definition: auth_ldap_sasl_mechanism.h:52
void set_user_info(std::string user, std::string password)
Definition: auth_ldap_sasl_mechanism.cc:110
virtual void get_ldap_host(std::string &host)
Definition: auth_ldap_sasl_mechanism.cc:121
virtual bool pre_authentication()
Definition: auth_ldap_sasl_mechanism.cc:119
std::string m_password
Definition: auth_ldap_sasl_mechanism.h:53
static char * password
Definition: mysql_secure_installation.cc:56
char * user
Definition: mysqladmin.cc:60
const char * host
Definition: mysqladmin.cc:59