MySQL 8.4.2
Source Code Documentation
ACL_USER Class Reference

#include <sql_auth_cache.h>

Inheritance diagram for ACL_USER:
[legend]

Classes

class  Password_locked_state
 

Public Member Functions

ACL_USERcopy (MEM_ROOT *root)
 
 ACL_USER ()
 
void set_user (MEM_ROOT *mem, const char *user_arg)
 
void set_host (MEM_ROOT *mem, const char *host_arg)
 
void set_mfa (MEM_ROOT *mem, I_multi_factor_auth *m)
 
size_t get_username_length () const
 
- Public Member Functions inherited from ACL_ACCESS
 ACL_ACCESS ()
 

Public Attributes

USER_RESOURCES user_resource
 
char * user
 
enum SSL_type ssl_type
 
const char * ssl_cipher
 
const char * x509_issuer
 
const char * x509_subject
 
LEX_CSTRING plugin
 
bool password_expired
 
bool can_authenticate
 
MYSQL_TIME password_last_changed
 
uint password_lifetime
 
bool use_default_password_lifetime
 
bool account_locked
 Specifies whether the user account is locked or unlocked. More...
 
bool is_role
 If this ACL_USER was used as a role id then this flag is true. More...
 
uint32 password_history_length
 The number of old passwords to check when setting a new password. More...
 
bool use_default_password_history
 Ignore password_history_length, use the global default global_password_history. More...
 
uint32 password_reuse_interval
 The number of days that would have to pass before a password can be reused. More...
 
bool use_default_password_reuse_interval
 Ignore password_reuse_interval, use the global default global_password_reuse_interval. More...
 
Lex_acl_attrib_udyn password_require_current
 The current password needed to be specified while changing it. More...
 
Acl_credential credentials [NUM_CREDENTIALS]
 Additional credentials. More...
 
class ACL_USER::Password_locked_state password_locked_state
 
I_multi_factor_authm_mfa
 
- Public Attributes inherited from ACL_ACCESS
ACL_HOST_AND_IP host
 
ulong sort
 
Access_bitmask access
 

Constructor & Destructor Documentation

◆ ACL_USER()

ACL_USER::ACL_USER ( )

Member Function Documentation

◆ copy()

ACL_USER * ACL_USER::copy ( MEM_ROOT root)

◆ get_username_length()

size_t ACL_USER::get_username_length ( ) const
inline

◆ set_host()

void ACL_USER::set_host ( MEM_ROOT mem,
const char *  host_arg 
)

◆ set_mfa()

void ACL_USER::set_mfa ( MEM_ROOT mem,
I_multi_factor_auth m 
)

◆ set_user()

void ACL_USER::set_user ( MEM_ROOT mem,
const char *  user_arg 
)

Member Data Documentation

◆ account_locked

bool ACL_USER::account_locked

Specifies whether the user account is locked or unlocked.

◆ can_authenticate

bool ACL_USER::can_authenticate

◆ credentials

Acl_credential ACL_USER::credentials[NUM_CREDENTIALS]

Additional credentials.

◆ is_role

bool ACL_USER::is_role

If this ACL_USER was used as a role id then this flag is true.

During RENAME USER this variable is used for determining if it is safe to rename the user or not.

◆ m_mfa

I_multi_factor_auth* ACL_USER::m_mfa

◆ password_expired

bool ACL_USER::password_expired

◆ password_history_length

uint32 ACL_USER::password_history_length

The number of old passwords to check when setting a new password.

◆ password_last_changed

MYSQL_TIME ACL_USER::password_last_changed

◆ password_lifetime

uint ACL_USER::password_lifetime

◆ password_locked_state

class ACL_USER::Password_locked_state ACL_USER::password_locked_state

◆ password_require_current

Lex_acl_attrib_udyn ACL_USER::password_require_current

The current password needed to be specified while changing it.

◆ password_reuse_interval

uint32 ACL_USER::password_reuse_interval

The number of days that would have to pass before a password can be reused.

◆ plugin

LEX_CSTRING ACL_USER::plugin

◆ ssl_cipher

const char* ACL_USER::ssl_cipher

◆ ssl_type

enum SSL_type ACL_USER::ssl_type

◆ use_default_password_history

bool ACL_USER::use_default_password_history

Ignore password_history_length, use the global default global_password_history.

◆ use_default_password_lifetime

bool ACL_USER::use_default_password_lifetime

◆ use_default_password_reuse_interval

bool ACL_USER::use_default_password_reuse_interval

◆ user

char* ACL_USER::user

◆ user_resource

USER_RESOURCES ACL_USER::user_resource

◆ x509_issuer

const char * ACL_USER::x509_issuer

◆ x509_subject

const char * ACL_USER::x509_subject

The documentation for this class was generated from the following files: