MySQL 8.4.0
Source Code Documentation
Gssapi_client Class Reference

#include <gssapi_authentication_client.h>

Inheritance diagram for Gssapi_client:
[legend]

Public Member Functions

 Gssapi_client (const std::string &spn, MYSQL_PLUGIN_VIO *vio, const std::string &upn, const std::string &password)
 
 ~Gssapi_client () override
 
bool authenticate () override
 
std::string get_user_name () override
 
void set_upn_info (const std::string &name, const std::string &pwd)
 
bool obtain_store_credentials () override
 
- Public Member Functions inherited from I_Kerberos_client
virtual ~I_Kerberos_client ()
 

Protected Attributes

std::string m_service_principal
 
MYSQL_PLUGIN_VIOm_vio {nullptr}
 
std::string m_user_principal_name
 
std::string m_password
 
std::unique_ptr< auth_kerberos_context::Kerberosm_kerberos {nullptr}
 

Constructor & Destructor Documentation

◆ Gssapi_client()

Gssapi_client::Gssapi_client ( const std::string &  spn,
MYSQL_PLUGIN_VIO vio,
const std::string &  upn,
const std::string &  password 
)

◆ ~Gssapi_client()

Gssapi_client::~Gssapi_client ( )
override

Member Function Documentation

◆ authenticate()

bool Gssapi_client::authenticate ( )
overridevirtual

Implements I_Kerberos_client.

◆ get_user_name()

std::string Gssapi_client::get_user_name ( )
overridevirtual

Implements I_Kerberos_client.

◆ obtain_store_credentials()

bool Gssapi_client::obtain_store_credentials ( )
overridevirtual

Implements I_Kerberos_client.

◆ set_upn_info()

void Gssapi_client::set_upn_info ( const std::string &  name,
const std::string &  pwd 
)

Member Data Documentation

◆ m_kerberos

std::unique_ptr<auth_kerberos_context::Kerberos> Gssapi_client::m_kerberos {nullptr}
protected

◆ m_password

std::string Gssapi_client::m_password
protected

◆ m_service_principal

std::string Gssapi_client::m_service_principal
protected

◆ m_user_principal_name

std::string Gssapi_client::m_user_principal_name
protected

◆ m_vio

MYSQL_PLUGIN_VIO* Gssapi_client::m_vio {nullptr}
protected

The documentation for this class was generated from the following files: