mariadb/plugin
Sergei Golubchik 7c40996cc8 MDEV-12321 authentication plugin: SET PASSWORD support
Support SET PASSWORD for authentication plugins.

Authentication plugin API is extended with two optional methods:
* hash_password() is used to compute a password hash (or digest)
  from the plain-text password. This digest will be stored in mysql.user
  table
* preprocess_hash() is used to convert this digest into some memory
  representation that can be later used to authenticate a user.
  Build-in plugins convert the hash from hexadecimal or base64 to binary,
  to avoid doing it on every authentication attempt.

Note a change in behavior: when loading privileges (on startup or on
FLUSH PRIVILEGES) an account with an unknown plugin was loaded with a
warning (e.g. "Plugin 'foo' is not loaded"). But such an account could
not be used for authentication until the plugin is installed. Now an
account like that will not be loaded at all (with a warning, still).
Indeed, without plugin's preprocess_hash() method the server cannot know
how to load an account. Thus, if a new authentication plugin is
installed run-time, one might need FLUSH PRIVILEGES to activate all
existing accounts that were using this new plugin.
2018-10-31 16:06:16 +01:00
..
audit_null Changed database, tablename and alias to be LEX_CSTRING 2018-01-30 21:33:55 +02:00
auth_dialog MDEV-11660 Make encryption plugins "pure" 2017-04-27 19:12:38 +02:00
auth_ed25519 MDEV-12321 authentication plugin: SET PASSWORD support 2018-10-31 16:06:16 +01:00
auth_examples MDEV-12321 authentication plugin: SET PASSWORD support 2018-10-31 16:06:16 +01:00
auth_gssapi Merge branch '10.2' into 10.3 2018-06-30 16:39:20 +02:00
auth_pam MDEV-12321 authentication plugin: SET PASSWORD support 2018-10-31 16:06:16 +01:00
auth_pipe MDEV-13384 - misc Windows warnings fixed 2017-09-28 17:20:46 +00:00
auth_socket MDEV-12321 authentication plugin: SET PASSWORD support 2018-10-31 16:06:16 +01:00
aws_key_management Merge 10.3 into 10.4 2018-10-10 10:36:51 +03:00
cracklib_password_check cleanup: add 'const' to password validation API 2018-10-31 16:06:16 +01:00
daemon_example MDEV-11660 Make encryption plugins "pure" 2017-04-27 19:12:38 +02:00
debug_key_management New encryption API. Piece-wise encryption. 2015-09-04 10:33:50 +02:00
disks Merge branch '10.2' into 10.3 2018-03-28 17:31:57 +02:00
example_key_management MDEV-11660 Make encryption plugins "pure" 2017-04-27 19:12:38 +02:00
feedback Fix of feedback plugin. 2018-07-06 16:26:19 +02:00
file_key_management Merge bb-10.2-ext into 10.3 2017-10-04 08:24:06 +03:00
fulltext Fix and reenable Windows compiler warning C4800 (size_t conversion). 2018-01-26 10:37:46 +00:00
handler_socket compiler warnings 2018-08-12 11:37:43 +02:00
locale_info Enusure that my_global.h is included first 2017-08-24 01:05:44 +02:00
metadata_lock_info MDEV-11952 Oracle-style packages: stage#5 2018-02-25 21:08:19 +04:00
qc_info Added HITS column to QUERY_CACHE_INFO table 2017-08-31 13:50:25 +04:00
query_response_time Merge bb-10.2-ext into 10.3 2017-10-04 08:24:06 +03:00
server_audit mysys: rename ME_xxx flags to match plugin api 2018-06-04 12:32:23 +02:00
simple_password_check cleanup: add 'const' to password validation API 2018-10-31 16:06:16 +01:00
sql_errlog Correct FSF address 2017-03-10 18:21:29 +01:00
user_variables Enusure that my_global.h is included first 2017-08-24 01:05:44 +02:00
userstat Changed database, tablename and alias to be LEX_CSTRING 2018-01-30 21:33:55 +02:00
versioning MDEV-15893 Rename VTQ to TRT 2018-05-12 10:16:46 +02:00
win_auth_client Misc. typos 2018-04-05 15:26:57 +04:00
wsrep_info Search for galera libraries also in /usr/lib64/galera-3 2017-12-08 11:38:22 +02:00