[java-identity-provider] branch master updated: IDP-1397 remove deprecated method loadJdbcDriver

Rod Widdowson rdw at steadingsoftware.com
Wed Dec 11 04:52:25 EST 2019


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=6c33e5d399567b5d27c08aeaf6f793fb0eaf0273

The following commit(s) were added to refs/heads/master by this push:
       new  6c33e5d   IDP-1397 remove deprecated method loadJdbcDriver
6c33e5d is described below

commit 6c33e5d399567b5d27c08aeaf6f793fb0eaf0273
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Dec 11 09:42:31 2019 +0000

    IDP-1397 remove deprecated method loadJdbcDriver
    
    https://issues.shibboleth.net/jira/browse/IDP-1397
---
 .../spring/dc/impl/ManagedConnectionParser.java        | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/dc/impl/ManagedConnectionParser.java b/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/dc/impl/ManagedConnectionParser.java
index a5a6f0e..0dd3851 100644
--- a/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/dc/impl/ManagedConnectionParser.java
+++ b/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/dc/impl/ManagedConnectionParser.java
@@ -185,24 +185,6 @@ public class ManagedConnectionParser {
     }
 
     /**
-     * Loads the supplied JDBC driver class into the classloader for this class.
-     *
-     * @param jdbcDriver to load
-     *
-     * @return the jdbc driver supplied to the method
-     */
-    @Deprecated public static String loadJdbcDriver(final String jdbcDriver) {
-        // JDBC driver must be loaded in order to register itself
-        final ClassLoader classLoader = ManagedConnectionParser.class.getClassLoader();
-        try {
-            classLoader.loadClass(jdbcDriver);
-        } catch (final ClassNotFoundException e) {
-            LOG.error("JDBC driver '{}' could not be found", jdbcDriver, e);
-        }
-        return jdbcDriver;
-    }
-    
-    /**
      * Get the bean ID of an externally defined data source.
      * 
      * @param config the config element

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list