Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2015-11-18 20:10:36 -0500
committerGreg Wilkins2015-11-18 20:14:05 -0500
commita311c8bde171551a57ff28c04851a3b53acfc1e0 (patch)
tree39dafd6f524d0b2b0e834888a66ebc1603614dc4 /jetty-security/src/main/java/org/eclipse
parent65d33f8b49bd51140d9fe9b024c5dd42ad7571d8 (diff)
downloadorg.eclipse.jetty.project-a311c8bde171551a57ff28c04851a3b53acfc1e0.tar.gz
org.eclipse.jetty.project-a311c8bde171551a57ff28c04851a3b53acfc1e0.tar.xz
org.eclipse.jetty.project-a311c8bde171551a57ff28c04851a3b53acfc1e0.zip
480904 - jetty-util Loader simplification
The Loader has been simplified to now just be a switch between loading from the context loader, the same loader as another class or the system loader. Multiple loaders will never be tried. A new runWithServerClassAccess(PriviledgedAction) method has been added to WebAppClassLoader, that is now used during configuration for actions that need access to both the WEB-INF/lib classes and the server classes (eg jetty-web.xml and env.xml). The JMX MBean mechanism has also been modified to look for an MBean class in the same loader that object came from before attempting the context loader (only if different).
Diffstat (limited to 'jetty-security/src/main/java/org/eclipse')
-rw-r--r--jetty-security/src/main/java/org/eclipse/jetty/security/JDBCLoginService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jetty-security/src/main/java/org/eclipse/jetty/security/JDBCLoginService.java b/jetty-security/src/main/java/org/eclipse/jetty/security/JDBCLoginService.java
index 089b894911..4137a563ec 100644
--- a/jetty-security/src/main/java/org/eclipse/jetty/security/JDBCLoginService.java
+++ b/jetty-security/src/main/java/org/eclipse/jetty/security/JDBCLoginService.java
@@ -164,7 +164,7 @@ public class JDBCLoginService extends MappedLoginService
+ " = u."
+ _userRoleTableRoleKey;
- Loader.loadClass(this.getClass(), _jdbcDriver).newInstance();
+ Loader.loadClass(_jdbcDriver).newInstance();
super.doStart();
}

Back to the top