Return-Path: Delivered-To: apmail-xml-security-dev-archive@www.apache.org Received: (qmail 80488 invoked from network); 11 Jul 2007 20:44:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jul 2007 20:44:25 -0000 Received: (qmail 75387 invoked by uid 500); 11 Jul 2007 20:44:26 -0000 Delivered-To: apmail-xml-security-dev-archive@xml.apache.org Received: (qmail 75370 invoked by uid 500); 11 Jul 2007 20:44:26 -0000 Mailing-List: contact security-dev-help@xml.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: security-dev@xml.apache.org List-Id: Delivered-To: mailing list security-dev@xml.apache.org Received: (qmail 75359 invoked by uid 99); 11 Jul 2007 20:44:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2007 13:44:26 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2007 13:44:23 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 6E90E714204; Wed, 11 Jul 2007 13:44:03 -0700 (PDT) From: bugzilla@apache.org To: security-dev@xml.apache.org Subject: DO NOT REPLY [Bug 42820] - ClassLoader issue causing NoSuchAlgorithmException loading Provider Implementation In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20070711204403.6E90E714204@brutus.apache.org> Date: Wed, 11 Jul 2007 13:44:03 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42820 ------- Additional Comments From jwashington@thezenith.com 2007-07-11 13:44 ------- Created an attachment (id=20494) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20494&action=view) ClassLoaderTest.java patch I added a additional unit test method test_provider_multiple_loaders() that simulates the failure condition I observed in a J2EE environment. The new test adds a Provider instance to java.security.Security from the current class loader running the unit test and then retrieves the provider from another class loader. This test should fail for unpatched XMLDigSecurity.java but pass for the patched version. I tested the patched XMLDigSecurity in my J2EE environment as well so the fix should be solid. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.