Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 28233 invoked from network); 23 Jun 2005 03:20:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jun 2005 03:20:17 -0000 Received: (qmail 17435 invoked by uid 500); 23 Jun 2005 03:20:16 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 16974 invoked by uid 500); 23 Jun 2005 03:20:12 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 16960 invoked by uid 500); 23 Jun 2005 03:20:12 -0000 Delivered-To: apmail-jakarta-jetspeed-dev@jakarta.apache.org Received: (qmail 16572 invoked by uid 99); 23 Jun 2005 03:20:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2005 20:20:11 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 9E1CF16 for ; Thu, 23 Jun 2005 05:20:10 +0200 (CEST) Message-ID: <106138388.1119496810645.JavaMail.jira@ajax.apache.org> Date: Thu, 23 Jun 2005 05:20:10 +0200 (CEST) From: "David Sean Taylor (JIRA)" To: jetspeed-dev@jakarta.apache.org Subject: [jira] Resolved: (JS2-300) Request to make login modules more flexible In-Reply-To: <1625953487.1119444557435.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-300?page=all ] David Sean Taylor resolved JS2-300: ----------------------------------- Fix Version: 2.0-M4 Resolution: Fixed patch applied > Request to make login modules more flexible > ------------------------------------------- > > Key: JS2-300 > URL: http://issues.apache.org/jira/browse/JS2-300 > Project: Jetspeed 2 > Type: Improvement > Environment: JBoss/HSQLDB > Reporter: Michael Lipp > Assignee: David Sean Taylor > Fix For: 2.0-M4 > Attachments: DefaultLoginModule.patch, JBossLoginModule.patch > > In order to proceed with JS2-297, I'd like to see the attached patch (against M3) applied. It allows a UserManager to be passed to DefaultLoginModule and JBossLoginModule. > As described in JS2-297, my goal is to make the user/group/role components of Jetspeed available as a JetspeedSecurityService MBean (i.e. as "application server extensions"). This MBean can then provide a UserManager. A login module based on this service would obtain the MBean, get the UserManager and use it in its login module (quite straight-forward). The current implementation of DefaultLoginModule "insists" on obtaining the UserManager via a LoginModuleProxy that is instantiated for the single purpose of holding a static reference to the UserManager (this is marked as a hack in the comment, and rightly so). While I can, of course, keep instantiating a LoginProxy, there is really no reason for doing this. And of course, I'd like to avoid duplicating DefaultLoginModule and JBossLoginModule. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org