24#ifndef VALIDATE_PASSWORD_IMP_H
25#define VALIDATE_PASSWORD_IMP_H
56 mysql_service_registry_no_lock);
58 mysql_service_registration_no_lock);
78 unsigned int *strength));
98 uint *minimum_required, uint *changed));
Definition: validate_password_imp.h:81
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:619
An implementation of the password_validation_service to validate password and to get its strength.
Definition: validate_password_imp.h:63
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:534
static mysql_service_status_t validate(void *thd, my_h_string password) noexcept
Validates the strength of given password.
Definition: validate_password_imp.cc:591
Specifies macros to define Components.
static char * password
Definition: mysql_secure_installation.cc:58
const mysql_service_registry_registration_t * registry_registration
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_AS(registry, mysql_service_registry_no_lock)
REQUIRES_SERVICE_PLACEHOLDER(registry)