Class CredentialPluginLoader


  • public class CredentialPluginLoader
    extends java.lang.Object
    Provider to handle plugin authentication. This can allow library users to override our default Authentication provider.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static CredentialPlugin get​(java.lang.String type)
      Get current Identity plugin according to option `identityType`.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CredentialPluginLoader

        public CredentialPluginLoader()
    • Method Detail

      • get

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