Class NativePasswordPluginFactory
java.lang.Object
org.mariadb.jdbc.plugin.authentication.standard.NativePasswordPluginFactory
- All Implemented Interfaces:
AuthenticationPluginFactory
Native password implementation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninitialize(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress) Plugin initialization.type()Authentication plugin type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mariadb.jdbc.plugin.AuthenticationPluginFactory
requireSsl
-
Constructor Details
-
NativePasswordPluginFactory
public NativePasswordPluginFactory()
-
-
Method Details
-
type
Description copied from interface:AuthenticationPluginFactoryAuthentication plugin type.- Specified by:
typein interfaceAuthenticationPluginFactory- Returns:
- authentication plugin type. ex: mysql_native_password
-
initialize
public AuthenticationPlugin initialize(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress) Description copied from interface:AuthenticationPluginFactoryPlugin initialization.- Specified by:
initializein interfaceAuthenticationPluginFactory- Parameters:
authenticationData- authentication data (password/token)seed- server provided seedconf- Connection optionshostAddress- host address
-