MySQL 8.0.39
Source Code Documentation
|
Service to enforce that new password contains N different characters compared to existing password. More...
#include <validate_password.h>
Public Attributes | |
mysql_service_status_t(* | validate )(my_h_string current_password, my_h_string new_password, uint *minimum_required, uint *changed) |
Validate if number of changed characters matches the pre-configured criteria. More... | |
Service to enforce that new password contains N different characters compared to existing password.
mysql_service_status_t(* s_mysql_validate_password_changed_characters::validate) (my_h_string current_password, my_h_string new_password, uint *minimum_required, uint *changed) |
Validate if number of changed characters matches the pre-configured criteria.
[in] | current_password | Current password |
[in] | new_password | New password |
[out] | minimum_required | Minimum required number of changed characters |
[out] | changed | Actual number of changed characters |
false | Success |
true | Error |