24#ifndef VALIDATE_PASSWORD_IMP_H
25#define VALIDATE_PASSWORD_IMP_H
73 unsigned int *strength));
93 uint *minimum_required, uint *changed));
Definition: validate_password_imp.h:76
static mysql_service_status_t validate(my_h_string current_password, my_h_string new_password, uint *minimum_required, uint *changed) noexcept
Validate if number of changed characters matches the pre-configured criteria.
Definition: validate_password_imp.cc:616
An implementation of the password_validation_service to validate password and to get its strength.
Definition: validate_password_imp.h:58
static mysql_service_status_t get_strength(void *thd, my_h_string password, unsigned int *strength) noexcept
Gets the password strength between (0-100)
Definition: validate_password_imp.cc:532
static mysql_service_status_t validate(void *thd, my_h_string password) noexcept
Validates the strength of given password.
Definition: validate_password_imp.cc:588
Specifies macros to define Components.
static char * password
Definition: mysql_secure_installation.cc:58
Specifies macros to define Service Implementations.
#define DEFINE_BOOL_METHOD(name, args)
A short macro to define method that returns bool, which is the most common case.
Definition: service_implementation.h:88
Definition: mysql_string_service.cc:60
REQUIRES_SERVICE_PLACEHOLDER(registry)