![]() |
MySQL 26.10.0
Source Code Documentation
|
Component-mode overrides for selected MRS runtime services. More...
#include <embedded_runtime_services.h>
Public Member Functions | |
| virtual | ~EmbeddedRuntimeServices ()=default |
| virtual std::unique_ptr< collector::MysqlCacheManager > | create_mysql_cache_manager (const Configuration &configuration)=0 |
| virtual std::optional< std::string > | authenticate_mysql_user (const std::string &user, const mysql_harness::SecureString &password)=0 |
| Validate HTTP-supplied MySQL credentials through the server authentication path and return the authenticated CURRENT_USER() identity. More... | |
| virtual std::shared_ptr< collector::MysqlFixedPoolManager > | create_mysql_user_session_pool (uint32_t passthrough_pool_size, const std::string &auth_id)=0 |
| virtual const std::string & | jwt_secret () const =0 |
Component-mode overrides for selected MRS runtime services.
Standalone Router does not install these services and continues to use the normal network/password/keyring-backed implementation. The component backend installs a non-owning services instance before starting the embedded Router loader and clears it during shutdown.
The services object must outlive all MRS objects created while it is installed.
|
virtualdefault |
|
pure virtual |
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.
Implemented in mrs_component::ComponentEmbeddedRuntimeServices.
|
pure virtual |
Implemented in mrs_component::ComponentEmbeddedRuntimeServices.
|
pure virtual |
Implemented in mrs_component::ComponentEmbeddedRuntimeServices.
|
pure virtual |
Implemented in mrs_component::ComponentEmbeddedRuntimeServices.