24#ifndef AUTH_KERBEROS_CLIENT_PLUGIN_H_
25#define AUTH_KERBEROS_CLIENT_PLUGIN_H_
59 void create_upn(
const std::string &account_name);
authentication_mode
Definition: auth_kerberos_client_plugin.h:40
Definition: auth_kerberos_client_plugin.h:47
bool read_spn_realm_from_server()
Definition: auth_kerberos_client_plugin.cc:166
std::string m_password
Definition: auth_kerberos_client_plugin.h:61
MYSQL * m_mysql
Definition: auth_kerberos_client_plugin.h:65
std::unique_ptr< I_Kerberos_client > m_kerberos_client
Definition: auth_kerberos_client_plugin.h:67
authentication_mode m_mode
Definition: auth_kerberos_client_plugin.h:66
void set_mysql_account_name(const std::string &name)
Definition: auth_kerberos_client_plugin.cc:84
Kerberos_plugin_client(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql, authentication_mode mode)
Definition: auth_kerberos_client_plugin.cc:55
void set_upn_info(const std::string &name, std::string pwd)
Definition: auth_kerberos_client_plugin.cc:145
std::string m_as_user_relam
Definition: auth_kerberos_client_plugin.h:63
bool obtain_store_credentials()
Definition: auth_kerberos_client_plugin.cc:66
~Kerberos_plugin_client()=default
std::string m_user_principal_name
Definition: auth_kerberos_client_plugin.h:60
bool authenticate()
Definition: auth_kerberos_client_plugin.cc:162
MYSQL_PLUGIN_VIO * m_vio
Definition: auth_kerberos_client_plugin.h:64
std::string m_service_principal
Definition: auth_kerberos_client_plugin.h:62
void create_upn(const std::string &account_name)
Definition: auth_kerberos_client_plugin.cc:156
This file defines the client API to MySQL and also the ABI of the dynamically linked libmysqlclient.
Definition: instrumented_condition_variable.h:32
mode
Definition: file_handle.h:61
This file defines constants and data structures that are the same for both client- and server-side au...
case opt name
Definition: sslopt-case.h:29
Provides plugin access to communication channel.
Definition: plugin_auth_common.h:147