MySQL 8.4.2
Source Code Documentation
Sspi_client Class Reference

#include <sspi_authentication_client.h>

Inheritance diagram for Sspi_client:
[legend]

Public Member Functions

 Sspi_client (const std::string &spn, MYSQL_PLUGIN_VIO *vio, const std::string &upn, const std::string &password, const std::string &kdc_host)
 
 ~Sspi_client () override=default
 
bool authenticate () override
 
bool obtain_store_credentials () override
 
std::string get_user_name () 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_upn
 
std::string m_password
 
std::string m_kdc_host
 
CredHandle m_cred
 

Constructor & Destructor Documentation

◆ Sspi_client()

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

◆ ~Sspi_client()

Sspi_client::~Sspi_client ( )
overridedefault

Member Function Documentation

◆ authenticate()

bool Sspi_client::authenticate ( )
overridevirtual

Implements I_Kerberos_client.

◆ get_user_name()

std::string Sspi_client::get_user_name ( )
overridevirtual

Implements I_Kerberos_client.

◆ obtain_store_credentials()

bool Sspi_client::obtain_store_credentials ( )
overridevirtual

Implements I_Kerberos_client.

Member Data Documentation

◆ m_cred

CredHandle Sspi_client::m_cred
protected

◆ m_kdc_host

std::string Sspi_client::m_kdc_host
protected

◆ m_password

std::string Sspi_client::m_password
protected

◆ m_service_principal

std::string Sspi_client::m_service_principal
protected

◆ m_upn

std::string Sspi_client::m_upn
protected

◆ m_vio

MYSQL_PLUGIN_VIO* Sspi_client::m_vio {nullptr}
protected

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