Class CredentialPluginLoader


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

      • CredentialPluginLoader

        public CredentialPluginLoader()
    • Method Detail

      • 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