MXS-862: Add client side GSSAPI authenticator
Initial implementation of the client side GSSAPI authenticator. The current version successfully authenticates clients using the same style as the MariaDB GSSAPI plugin does. Currently, it is not possible to acutally use the plugin as the backend server would require the matchig GSSAPI plugin. Also added skeleton code for the backend GSSAPI authenticator. It only implements the required entry points and sends the client auth packet to the backend.
This commit is contained in:
@ -8,6 +8,17 @@ target_link_libraries(MySQLBackendAuth maxscale-common MySQLBackend)
|
||||
set_target_properties(MySQLBackendAuth PROPERTIES VERSION "1.0.0")
|
||||
install_module(MySQLBackendAuth core)
|
||||
|
||||
add_library(GSSAPIAuth SHARED gssapi_auth.c gssapi_auth_common.c)
|
||||
target_link_libraries(GSSAPIAuth maxscale-common gssapi_krb5)
|
||||
set_target_properties(GSSAPIAuth PROPERTIES VERSION "1.0.0")
|
||||
install_module(GSSAPIAuth core)
|
||||
|
||||
add_library(GSSAPIBackendAuth SHARED gssapi_backend_auth.c gssapi_auth_common.c)
|
||||
target_link_libraries(GSSAPIBackendAuth maxscale-common gssapi_krb5
|
||||
MySQLBackend) # Needed for gw_send_backend_auth
|
||||
set_target_properties(GSSAPIBackendAuth PROPERTIES VERSION "1.0.0")
|
||||
install_module(GSSAPIBackendAuth core)
|
||||
|
||||
add_library(NullAuthAllow SHARED null_auth_allow.c)
|
||||
target_link_libraries(NullAuthAllow maxscale-common)
|
||||
set_target_properties(NullAuthAllow PROPERTIES VERSION "1.0.0")
|
||||
|
Reference in New Issue
Block a user