Package org.mariadb.jdbc.authentication
Class AuthenticationPluginLoader
java.lang.Object
org.mariadb.jdbc.authentication.AuthenticationPluginLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationPlugin
Get authentication plugin from type String.
-
Constructor Details
-
AuthenticationPluginLoader
public AuthenticationPluginLoader()
-
-
Method Details
-
get
Get authentication plugin from type String. Customs authentication plugin can be added implementing AuthenticationPlugin and registering new type in resources services.- Parameters:
type
- authentication plugin type- Returns:
- Authentication plugin corresponding to type
- Throws:
SQLException
- if no authentication plugin in classpath have indicated type
-