MySQL 9.1.0
Source Code Documentation
Security_context Member List

This is the complete list of members for Security_context, including all inherited members.

account_is_locked()Security_contextinline
activate_role(LEX_CSTRING user, LEX_CSTRING host, bool validate_access=false)Security_context
add_as_local_temp_privs(const std::vector< std::string > &privs)Security_context
any_sp_acl(const LEX_CSTRING &db)Security_context
any_table_acl(const LEX_CSTRING &db)Security_context
assign_external_user(const char *ext_user_arg, const int ext_user_arg_length)Security_context
assign_host(const char *host_arg, const size_t host_arg_length)Security_context
assign_ip(const char *ip_arg, const int ip_arg_length)Security_context
assign_priv_host(const char *priv_host_arg, const size_t priv_host_arg_length)Security_context
assign_priv_user(const char *priv_user_arg, const size_t priv_user_arg_length)Security_context
assign_proxy_user(const char *proxy_user_arg, const size_t proxy_user_arg_length)Security_context
assign_user(const char *user_arg, const size_t user_arg_length)Security_context
cache_current_db_access(Access_bitmask db_access)Security_contextinline
can_operate_with(const Auth_id &auth_id, const std::string &privilege, bool cumulative=false, bool ignore_if_nonextant=true, bool throw_error=true)Security_context
change_security_context(THD *thd, const LEX_CSTRING &definer_user, const LEX_CSTRING &definer_host, const char *db, Security_context **backup, bool force=false)Security_context
check_access(Access_bitmask want_access, const std::string &db_name="", bool match_any=false)Security_context
check_db_level_access(THD *thd, const Security_context *sctx, const char *host, const char *ip, const char *user, const char *db, size_t db_len, bool db_is_pattern=false)Security_contextstatic
check_db_level_access(THD *thd, const char *db, size_t db_len, bool db_is_pattern=false) constSecurity_context
check_in_local_temp_privs(const std::string &priv)Security_context
checkout_access_maps(void)Security_context
clear_active_roles(void)Security_context
clear_db_restrictions()Security_contextinline
copy_security_ctx(const Security_context &src_sctx)Security_contextprivate
current_db_access() constSecurity_contextinline
db_acl(LEX_CSTRING db, bool use_pattern_scan=true) constSecurity_context
destroy()Security_contextprivate
execute_drop_policy(void)Security_context
external_user() constSecurity_contextinline
fetch_global_grant(const ACL_USER &acl_user, const std::string &privilege, bool cumulative=false)Security_contextprivate
filter_access(const Access_bitmask access, const std::string &db_name) constSecurity_contextprivate
function_acl(LEX_CSTRING db, LEX_CSTRING procedure_name)Security_context
get_active_roles()Security_context
get_active_roles(THD *, List< LEX_USER > &)Security_context
get_num_active_roles() constSecurity_context
get_thd()Security_contextinline
has_account_assigned() constSecurity_contextinline
has_column_access(Access_bitmask priv, TABLE const *table, std::vector< std::string > column)Security_context
has_drop_policy(void)Security_context
has_executed_drop_policy(void)Security_context
has_global_grant(const char *priv, size_t priv_len)Security_context
has_global_grant(const Auth_id &auth_id, const std::string &privilege, bool cumulative=false)Security_context
has_table_access(Access_bitmask priv, Table_ref *table)Security_contextprivate
has_with_admin_acl(const LEX_CSTRING &role_name, const LEX_CSTRING &role_host)Security_context
host() constSecurity_context
host_or_ip() constSecurity_contextinline
init()Security_contextprivate
init_restrictions(const Restrictions &restrictions)Security_contextprivate
ip() constSecurity_context
is_access_restricted_on_db(Access_bitmask want_access, const std::string &db_name) constSecurity_context
is_in_registration_sandbox_mode()Security_contextinline
is_skip_grants_user()Security_contextinline
is_table_blocked(Access_bitmask priv, TABLE const *table)Security_context
lock_account(bool is_locked)Security_contextinline
logout()Security_context
m_acl_mapSecurity_contextprivate
m_active_rolesSecurity_contextprivate
m_db_accessSecurity_contextprivate
m_drop_policySecurity_contextprivate
m_executed_drop_policySecurity_contextprivate
m_external_userSecurity_contextprivate
m_has_drop_policySecurity_contextprivate
m_hostSecurity_contextprivate
m_host_or_ipSecurity_contextprivate
m_ipSecurity_contextprivate
m_is_lockedSecurity_contextprivate
m_is_skip_grants_userSecurity_contextprivate
m_master_accessSecurity_contextprivate
m_password_expiredSecurity_contextprivate
m_priv_hostSecurity_contextprivate
m_priv_host_lengthSecurity_contextprivate
m_priv_userSecurity_contextprivate
m_priv_user_lengthSecurity_contextprivate
m_proxy_userSecurity_contextprivate
m_proxy_user_lengthSecurity_contextprivate
m_registration_sandbox_modeSecurity_contextprivate
m_restrictionsSecurity_contextprivate
m_thdSecurity_contextprivate
m_userSecurity_contextprivate
master_access() constSecurity_contextinline
master_access(const std::string &db_name) constSecurity_context
operator=(const Security_context &src_sctx)Security_context
password_expired() constSecurity_contextinline
priv_host() constSecurity_context
priv_host_name() constSecurity_contextinline
priv_user() constSecurity_context
procedure_acl(LEX_CSTRING db, LEX_CSTRING procedure_name)Security_context
proxy_user() constSecurity_context
restore_security_context(THD *thd, Security_context *backup)Security_context
restrictions() constSecurity_contextinline
Security_context(THD *thd=nullptr)Security_context
Security_context(const Security_context &src_sctx)Security_context
set_drop_policy(const std::function< void(Security_context *)> &func)Security_context
set_external_user_ptr(const char *ext_user_arg, const int ext_user_arg_length)Security_context
set_host_or_ip_ptr()Security_contextinline
set_host_or_ip_ptr(const char *host_or_ip_arg, const int host_or_ip_arg_length)Security_contextinline
set_host_ptr(const char *host_arg, const size_t host_arg_length)Security_context
set_ip_ptr(const char *ip_arg, const int ip_arg_length)Security_context
set_master_access(Access_bitmask master_access)Security_contextinline
set_master_access(Access_bitmask master_access, const Restrictions &restrictions)Security_contextinline
set_password_expired(bool password_expired)Security_contextinline
set_registration_sandbox_mode(bool v)Security_contextinline
set_thd(THD *thd)Security_contextinline
set_user_ptr(const char *user_arg, const size_t user_arg_length)Security_context
skip_grants(const char *user="skip-grants user", const char *host="skip-grants host")Security_context
table_acl(LEX_CSTRING db, LEX_CSTRING table)Security_context
table_and_column_acls(LEX_CSTRING db, LEX_CSTRING table)Security_context
user() constSecurity_context
user_matches(Security_context *)Security_context
~Security_context()Security_context