MXS-1957 Add MariaDBBackendAuth alias
This commit is contained in:
@ -65,9 +65,10 @@ struct NAME_MAPPING
|
|||||||
|
|
||||||
static NAME_MAPPING name_mappings[] =
|
static NAME_MAPPING name_mappings[] =
|
||||||
{
|
{
|
||||||
{MODULE_MONITOR, "mysqlmon", "mariadbmon", false},
|
{MODULE_MONITOR, "mysqlmon", "mariadbmon", false},
|
||||||
{MODULE_PROTOCOL, "mysqlclient", "mariadbclient", false},
|
{MODULE_PROTOCOL, "mysqlclient", "mariadbclient", false},
|
||||||
{MODULE_PROTOCOL, "mysqlbackend", "mariadbbackend", false}
|
{MODULE_PROTOCOL, "mysqlbackend", "mariadbbackend", false},
|
||||||
|
{MODULE_AUTHENTICATOR, "mysqlbackendauth", "mariadbbackendauth", false}
|
||||||
};
|
};
|
||||||
|
|
||||||
static const size_t N_NAME_MAPPINGS = sizeof(name_mappings) / sizeof(name_mappings[0]);
|
static const size_t N_NAME_MAPPINGS = sizeof(name_mappings) / sizeof(name_mappings[0]);
|
||||||
|
@ -6,7 +6,7 @@ add_subdirectory(GSSAPI)
|
|||||||
add_subdirectory(HTTPAuth)
|
add_subdirectory(HTTPAuth)
|
||||||
add_subdirectory(MaxAdminAuth)
|
add_subdirectory(MaxAdminAuth)
|
||||||
add_subdirectory(MySQLAuth)
|
add_subdirectory(MySQLAuth)
|
||||||
add_subdirectory(MySQLBackendAuth)
|
add_subdirectory(MariaDBBackendAuth)
|
||||||
add_subdirectory(NullAuthAllow)
|
add_subdirectory(NullAuthAllow)
|
||||||
add_subdirectory(NullAuthDeny)
|
add_subdirectory(NullAuthDeny)
|
||||||
add_subdirectory(PAM)
|
add_subdirectory(PAM)
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
add_library(mariadbbackendauth SHARED mysql_backend_auth.cc)
|
||||||
|
target_link_libraries(mariadbbackendauth maxscale-common mysqlcommon)
|
||||||
|
set_target_properties(mariadbbackendauth PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
|
||||||
|
install_module(mariadbbackendauth core)
|
@ -22,7 +22,7 @@
|
|||||||
* server.
|
* server.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define MXS_MODULE_NAME "MySQLBackendAuth"
|
#define MXS_MODULE_NAME "MariaDBBackendAuth"
|
||||||
|
|
||||||
#include <maxscale/alloc.h>
|
#include <maxscale/alloc.h>
|
||||||
#include <maxscale/authenticator.hh>
|
#include <maxscale/authenticator.hh>
|
@ -1,4 +0,0 @@
|
|||||||
add_library(mysqlbackendauth SHARED mysql_backend_auth.cc)
|
|
||||||
target_link_libraries(mysqlbackendauth maxscale-common mysqlcommon)
|
|
||||||
set_target_properties(mysqlbackendauth PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
|
|
||||||
install_module(mysqlbackendauth core)
|
|
Reference in New Issue
Block a user