MySQL 8.0.39
Source Code Documentation
|
#include <auth_common.h>
Public Member Functions | |
Default_local_authid (const THD *thd) | |
bool | precheck (Security_context *sctx) |
Check if the security context can be created as a local authid. More... | |
bool | create (Security_context *sctx) |
Create a local authid without modifying any tables. More... | |
Public Member Functions inherited from Create_authid< Default_local_authid > | |
bool | operator() (Security_context *sctx, Operation op) override |
Public Member Functions inherited from Security_context_policy | |
Security_context_policy ()=default | |
virtual | ~Security_context_policy ()=default |
Security_context_policy (const Security_context_policy &)=default | |
Private Attributes | |
const THD * | m_thd |
Additional Inherited Members | |
Public Types inherited from Security_context_policy | |
enum | Operation { Precheck , Execute } |
Default_local_authid::Default_local_authid | ( | const THD * | thd | ) |
bool Default_local_authid::create | ( | Security_context * | sctx | ) |
Create a local authid without modifying any tables.
[out] | sctx | The authid that will be extended with a user profile |
true | an error occurred |
false | success |
bool Default_local_authid::precheck | ( | Security_context * | sctx | ) |
Check if the security context can be created as a local authid.
[out] | sctx | The authid to be checked. |
true | an error occurred |
false | success |
|
private |