24#ifndef MYSQL_PLUGIN_VALIDATE_PASSWORD_INCLUDED 
   25#define MYSQL_PLUGIN_VALIDATE_PASSWORD_INCLUDED 
   33#define MYSQL_VALIDATE_PASSWORD_INTERFACE_VERSION 0x0100 
static char * password
Definition: mysql_secure_installation.cc:56
 
void * mysql_string_handle
Definition: plugin_validate_password.h:35
 
This plugin type defines interface that the server uses to enforce a password policy.
Definition: plugin_validate_password.h:59
 
int(* validate_password)(mysql_string_handle password)
Checks if a password is valid by the password policy.
Definition: plugin_validate_password.h:68
 
int interface_version
Definition: plugin_validate_password.h:60
 
int(* get_password_strength)(mysql_string_handle password)
Calculates the strength of a password in the scale of 0 to 100.
Definition: plugin_validate_password.h:75