summaryrefslogtreecommitdiff
path: root/plugin/auth/dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/auth/dialog.c')
-rw-r--r--plugin/auth/dialog.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/plugin/auth/dialog.c b/plugin/auth/dialog.c
index c80cbebd046..95998fcc0d0 100644
--- a/plugin/auth/dialog.c
+++ b/plugin/auth/dialog.c
@@ -171,6 +171,38 @@ mysql_declare_plugin(dialog)
NULL
}
mysql_declare_plugin_end;
+maria_declare_plugin(dialog)
+{
+ MYSQL_AUTHENTICATION_PLUGIN,
+ &two_handler,
+ "two_questions",
+ "Sergei Golubchik",
+ "Dialog plugin demo 1",
+ PLUGIN_LICENSE_GPL,
+ NULL,
+ NULL,
+ 0x0100,
+ NULL,
+ NULL,
+ "1.0",
+ MariaDB_PLUGIN_MATURITY_BETA
+},
+{
+ MYSQL_AUTHENTICATION_PLUGIN,
+ &three_handler,
+ "three_attempts",
+ "Sergei Golubchik",
+ "Dialog plugin demo 2",
+ PLUGIN_LICENSE_GPL,
+ NULL,
+ NULL,
+ 0x0100,
+ NULL,
+ NULL,
+ "1.0",
+ MariaDB_PLUGIN_MATURITY_BETA
+}
+maria_declare_plugin_end;
/********************* CLIENT SIDE ***************************************/
/*