MySQL 9.1.0
Source Code Documentation
|
This service allows plugins to validate passwords based on a common policy. More...
#include <service_mysql_password_policy.h>
Public Attributes | |
int(* | my_validate_password_policy_func )(const char *, unsigned int) |
Validates a password. More... | |
int(* | my_calculate_password_strength_func )(const char *, unsigned int) |
Evaluates the strength of a password in a scale 0-100. More... | |
This service allows plugins to validate passwords based on a common policy.
This is a "bridge service", i.e. facade with no real functionality that just calls the actual password validation plugin APIs. This serive is needed by other plugins to call into the password validation plugins and thus overcome the limitation that only the server can call plugins.
int(* mysql_password_policy_service_st::my_calculate_password_strength_func) (const char *, unsigned int) |
Evaluates the strength of a password in a scale 0-100.
int(* mysql_password_policy_service_st::my_validate_password_policy_func) (const char *, unsigned int) |
Validates a password.