cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1477099 - /cxf/branches/wss4j2.0-port/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/TokenStoreFactory.java
Date Mon, 29 Apr 2013 14:27:16 GMT
Author: coheigea
Date: Mon Apr 29 14:27:16 2013
New Revision: 1477099

URL: http://svn.apache.org/r1477099
Log:
[CXF-4991] EH-Cache availability checks in ReplayCacheFactory and TokenStoreFactory now performed
using the defining classloader


Conflicts:

	rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/ReplayCacheFactory.java

Modified:
    cxf/branches/wss4j2.0-port/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/TokenStoreFactory.java

Modified: cxf/branches/wss4j2.0-port/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/TokenStoreFactory.java
URL: http://svn.apache.org/viewvc/cxf/branches/wss4j2.0-port/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/TokenStoreFactory.java?rev=1477099&r1=1477098&r2=1477099&view=diff
==============================================================================
--- cxf/branches/wss4j2.0-port/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/TokenStoreFactory.java
(original)
+++ cxf/branches/wss4j2.0-port/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/TokenStoreFactory.java
Mon Apr 29 14:27:16 2013
@@ -37,8 +37,7 @@ public abstract class TokenStoreFactory 
     
     static {
         try {
-            Class<?> cacheManagerClass = 
-                ClassLoaderUtils.loadClass("net.sf.ehcache.CacheManager", TokenStoreFactory.class);
+            Class<?> cacheManagerClass = Class.forName("net.sf.ehcache.CacheManager");
             if (cacheManagerClass != null) {
                 ehCacheInstalled = true;
             }



Mime
View raw message