![]() |
MySQL 8.4.7
Source Code Documentation
|
#include "classic_greeting_receiver.h"#include <cctype>#include <random>#include <sstream>#include <system_error>#include <openssl/err.h>#include <openssl/ssl.h>#include "classic_auth.h"#include "classic_auth_caching_sha2.h"#include "classic_auth_cleartext.h"#include "classic_auth_forwarder.h"#include "classic_auth_native.h"#include "classic_auth_sha256_password.h"#include "classic_connection_base.h"#include "classic_frame.h"#include "classic_greeting_forwarder.h"#include "classic_lazy_connect.h"#include "harness_assert.h"#include "hexify.h"#include "mysql/harness/logging/logger.h"#include "mysql/harness/logging/logging.h"#include "mysql/harness/net_ts/socket.h"#include "mysql/harness/stdx/expected.h"#include "mysql/harness/tls_error.h"#include "mysqld_error.h"#include "mysqlrouter/classic_protocol_codec_error.h"#include "mysqlrouter/classic_protocol_constants.h"#include "mysqlrouter/connection_base.h"#include "mysqlrouter/routing.h"#include "openssl_msg.h"#include "openssl_version.h"#include "processor.h"#include "router_config.h"#include "tracer.h"Functions | |
| template<class T > | |
| std::vector< T > | vector_splice (std::vector< T > v, const std::vector< T > &other) |
| splice two vectors together. More... | |
| static bool | client_ssl_mode_is_satisfied (SslMode client_ssl_mode, classic_protocol::capabilities::value_type shared_capabilities) |
| static bool | client_compress_is_satisfied (classic_protocol::capabilities::value_type client_capabilities, classic_protocol::capabilities::value_type shared_capabilities) |
| static stdx::expected< size_t, std::error_code > | send_ssl_connection_error_msg (Channel &dst_channel, ClassicProtocolState &dst_protocol, const std::string &msg) |
| static void | ssl_msg_cb (int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg) |
| static bool | authentication_method_is_supported (const std::string &auth_method_name) |
| check if the authentication method is supported. More... | |
| static std::optional< std::string_view > | password_from_auth_method_data (std::string_view auth_data) |
| extract the password from auth-method-data. More... | |
Variables | |
| static constexpr const std::array | supported_authentication_methods |
| static constexpr const bool | kCapturePlaintextPassword {true} |
|
static |
check if the authentication method is supported.
| true | auth_method_name is supported |
| false | auth_method_name is not supported |
|
static |
|
static |
|
static |
extract the password from auth-method-data.
| false | in there is no password. |
|
static |
|
static |
| std::vector< T > vector_splice | ( | std::vector< T > | v, |
| const std::vector< T > & | other | ||
| ) |
splice two vectors together.
appends all elements of other to the vector v.
|
staticconstexpr |
|
staticconstexpr |