Package org.mariadb.jdbc.authentication
Class AuthenticationPluginLoader
- java.lang.Object
-
- org.mariadb.jdbc.authentication.AuthenticationPluginLoader
-
public class AuthenticationPluginLoader extends Object
-
-
Constructor Summary
Constructors Constructor Description AuthenticationPluginLoader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationPlugin
get(String type)
Get authentication plugin from type String.
-
-
-
Method Detail
-
get
public static AuthenticationPlugin get(String type) throws SQLException
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
-
-