Class CredentialPluginLoader

java.lang.Object
org.mariadb.jdbc.plugin.credential.CredentialPluginLoader

public final class CredentialPluginLoader extends Object
Provider to handle plugin authentication. This can allow library users to override our default Authentication provider.
  • Field Details

  • Constructor Details

    • CredentialPluginLoader

      public CredentialPluginLoader()
  • Method Details

    • get

      public static CredentialPlugin get(String type) throws SQLException
      Get current Identity plugin according to option `identityType`.
      Parameters:
      type - identity plugin type
      Returns:
      identity plugin
      Throws:
      SQLException - if no identity plugin found with this type is in classpath