Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DF7AFB74 for ; Mon, 29 Apr 2013 09:47:53 +0000 (UTC) Received: (qmail 21902 invoked by uid 500); 29 Apr 2013 09:47:52 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 21727 invoked by uid 500); 29 Apr 2013 09:47:48 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 21668 invoked by uid 99); 29 Apr 2013 09:47:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Apr 2013 09:47:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Apr 2013 09:47:43 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D1CF62388A2C; Mon, 29 Apr 2013 09:47:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1476946 - in /cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security: cache/ReplayCacheFactory.java tokenstore/TokenStoreFactory.java Date: Mon, 29 Apr 2013 09:47:22 -0000 To: commits@cxf.apache.org From: asoldano@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130429094722.D1CF62388A2C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: asoldano Date: Mon Apr 29 09:47:22 2013 New Revision: 1476946 URL: http://svn.apache.org/r1476946 Log: [CXF-4991] EH-Cache availability checks in ReplayCacheFactory and TokenStoreFactory now performed using the defining classloader Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/ReplayCacheFactory.java cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/TokenStoreFactory.java Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/ReplayCacheFactory.java URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/ReplayCacheFactory.java?rev=1476946&r1=1476945&r2=1476946&view=diff ============================================================================== --- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/ReplayCacheFactory.java (original) +++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/ReplayCacheFactory.java Mon Apr 29 09:47:22 2013 @@ -39,8 +39,7 @@ public abstract class ReplayCacheFactory static { try { - Class cacheManagerClass = - ClassLoaderUtils.loadClass("net.sf.ehcache.CacheManager", ReplayCacheFactory.class); + Class cacheManagerClass = Class.forName("net.sf.ehcache.CacheManager"); if (cacheManagerClass != null) { ehCacheInstalled = true; } Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/TokenStoreFactory.java URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/TokenStoreFactory.java?rev=1476946&r1=1476945&r2=1476946&view=diff ============================================================================== --- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/TokenStoreFactory.java (original) +++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/TokenStoreFactory.java Mon Apr 29 09:47:22 2013 @@ -38,8 +38,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; }