Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 30086 invoked from network); 9 Apr 2007 09:40:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2007 09:40:55 -0000 Received: (qmail 62556 invoked by uid 500); 9 Apr 2007 09:41:01 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 62173 invoked by uid 500); 9 Apr 2007 09:41:00 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 62164 invoked by uid 99); 9 Apr 2007 09:41:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 02:41:00 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Mon, 09 Apr 2007 02:40:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9B60F714075 for ; Mon, 9 Apr 2007 02:40:32 -0700 (PDT) Message-ID: <10805566.1176111632633.JavaMail.jira@brutus> Date: Mon, 9 Apr 2007 02:40:32 -0700 (PDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-650) SimpleJbossAccessManager In-Reply-To: <3023110.1164723561074.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting resolved JCR-650. ------------------------------- Resolution: Fixed Committed the contributed access manager in revision 526687. I modified the class somewhat, backporting it to Java 1.4 and streamlining some of the logic, but made no functional changes. Note that the fully qualified name of the class is now org.apache.jackrabbit.core.security.SimpleJBossAccessManager (no .jboss package, and JBoss with a capital B). It seems that the only JBoss-specific part of the class is the use of the "Roles" principal group. How about generalizing the class so that it uses all the principals associated with the subject and not just the "Roles" principals? I think it would also make sense to use the standard JAAS Permission model instead of the custom rolemapping.properties file for access control. Thanks for the contribution! > SimpleJbossAccessManager > ------------------------ > > Key: JCR-650 > URL: https://issues.apache.org/jira/browse/JCR-650 > Project: Jackrabbit > Issue Type: New Feature > Components: security > Environment: Jboss 4.0.5.GA (should work on most any), Jackrabbit 1.1, either JCA or server .WAR deployment > Reporter: Darren Hartford > Assigned To: Jukka Zitting > Fix For: 1.3 > > Attachments: pom.xml, SimpleJbossAccessManager.java > > > http://wiki.apache.org/jackrabbit/SimpleJbossAccessManager > Code contribution -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.