Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 10134C07C for ; Fri, 27 Apr 2012 23:09:11 +0000 (UTC) Received: (qmail 42839 invoked by uid 500); 27 Apr 2012 23:09:11 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 42819 invoked by uid 500); 27 Apr 2012 23:09:10 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 42810 invoked by uid 99); 27 Apr 2012 23:09:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2012 23:09:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2012 23:09:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C7FA1424482 for ; Fri, 27 Apr 2012 23:08:47 +0000 (UTC) Date: Fri, 27 Apr 2012 23:08:47 +0000 (UTC) From: "Jamie goodyear (JIRA)" To: issues@karaf.apache.org Message-ID: <1793413058.5155.1335568127820.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <467583162.11720.1312554987239.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (KARAF-806) ProxyLoginModule should actually be on the bootclasspath classpath right? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jamie goodyear closed KARAF-806. -------------------------------- > ProxyLoginModule should actually be on the bootclasspath classpath right? > ------------------------------------------------------------------------- > > Key: KARAF-806 > URL: https://issues.apache.org/jira/browse/KARAF-806 > Project: Karaf > Issue Type: Question > Components: karaf-documentation > Affects Versions: 2.2.2 > Reporter: Todor Boev > Priority: Trivial > Fix For: 2.2.6, 3.0.0 > > > In Developers Guide, Security Framework, Architecture (section) > http://karaf.apache.org/manual/2.2.2/developers-guide/security-framework.html > It is mentioned that ProxyLoginModule must be "available from the system classloader". This does not seem correct. The LoginContext class calls Class.forName(, true, ) to load the login module classes. When the context loader is null Class.forName() delegates to the loader of the current class, which in the case of LoginContext is the boot loader. So if we have ProxyLoginModule on the system classpath it will be bypassed. > In equinox we can get away with this because equinox sets a context class loader of it's own, which delegates to the system loader. I suspect on Felix this will not work. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira