![]() |
MySQL 26.10.0
Source Code Documentation
|
Adapts embedded MRS runtime operations to Server component services. More...
#include <mrs_component_runtime_services.h>
Public Member Functions | |
| ComponentEmbeddedRuntimeServices (std::string local_address, std::string metadata_user, std::string data_user, std::string jwt_secret) | |
| ~ComponentEmbeddedRuntimeServices () override | |
| std::unique_ptr< collector::MysqlCacheManager > | create_mysql_cache_manager (const mrs::Configuration &configuration) override |
| std::optional< std::string > | authenticate_mysql_user (const std::string &user, const mysql_harness::SecureString &password) override |
| Validate HTTP-supplied MySQL credentials through the server authentication path and return the authenticated CURRENT_USER() identity. More... | |
| std::shared_ptr< collector::MysqlFixedPoolManager > | create_mysql_user_session_pool (uint32_t passthrough_pool_size, const std::string &auth_id) override |
| const std::string & | jwt_secret () const override |
Public Member Functions inherited from mrs::EmbeddedRuntimeServices | |
| virtual | ~EmbeddedRuntimeServices ()=default |
Private Attributes | |
| std::string | local_address_ |
| std::string | metadata_auth_id_ |
| std::string | data_auth_id_ |
| std::string | jwt_secret_ |
Adapts embedded MRS runtime operations to Server component services.
| mrs_component::ComponentEmbeddedRuntimeServices::ComponentEmbeddedRuntimeServices | ( | std::string | local_address, |
| std::string | metadata_user, | ||
| std::string | data_user, | ||
| std::string | jwt_secret | ||
| ) |
|
override |
|
overridevirtual |
Validate HTTP-supplied MySQL credentials through the server authentication path and return the authenticated CURRENT_USER() identity.
The returned auth id is used for embedded sessions created after authentication; this call itself must not attach an embedded security context for a user that has not been authenticated yet.
Implements mrs::EmbeddedRuntimeServices.
|
overridevirtual |
Implements mrs::EmbeddedRuntimeServices.
|
overridevirtual |
Implements mrs::EmbeddedRuntimeServices.
|
inlineoverridevirtual |
Implements mrs::EmbeddedRuntimeServices.
|
private |
|
private |
|
private |
|
private |