24#ifndef AUTH_GSSAPI_CLIENT_H_
25#define AUTH_GSSAPI_CLIENT_H_
27#include <gssapi/gssapi.h>
38 const std::string &upn,
const std::string &
password);
51 std::unique_ptr<auth_kerberos_context::Kerberos>
m_kerberos{
nullptr};
Definition: gssapi_authentication_client.h:35
void set_upn_info(const std::string &name, const std::string &pwd)
Definition: gssapi_authentication_client.cc:120
std::unique_ptr< auth_kerberos_context::Kerberos > m_kerberos
Definition: gssapi_authentication_client.h:51
MYSQL_PLUGIN_VIO * m_vio
Definition: gssapi_authentication_client.h:48
std::string m_user_principal_name
Definition: gssapi_authentication_client.h:49
bool authenticate() override
Definition: gssapi_authentication_client.cc:50
std::string m_service_principal
Definition: gssapi_authentication_client.h:46
std::string get_user_name() override
Definition: gssapi_authentication_client.cc:140
bool obtain_store_credentials() override
Definition: gssapi_authentication_client.cc:135
std::string m_password
Definition: gssapi_authentication_client.h:50
Gssapi_client(const std::string &spn, MYSQL_PLUGIN_VIO *vio, const std::string &upn, const std::string &password)
Definition: gssapi_authentication_client.cc:36
~Gssapi_client() override
Definition: gssapi_authentication_client.cc:48
Definition: kerberos_client_interface.h:31
static char * password
Definition: mysql_secure_installation.cc:58
case opt name
Definition: sslopt-case.h:29
Provides plugin access to communication channel.
Definition: plugin_auth_common.h:147