Class AuthenticationPluginLoader


  • public class AuthenticationPluginLoader
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static AuthenticationPlugin get​(java.lang.String type)
      Get authentication plugin from type String.
      • Methods inherited from class java.lang.Object

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

      • AuthenticationPluginLoader

        public AuthenticationPluginLoader()
    • Method Detail

      • get

        public static AuthenticationPlugin get​(java.lang.String type)
                                        throws java.sql.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:
        java.sql.SQLException - if no authentication plugin in classpath have indicated type