Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 53124 invoked from network); 29 Nov 2006 14:11:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Nov 2006 14:11:24 -0000 Received: (qmail 36646 invoked by uid 500); 29 Nov 2006 14:11:32 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 36630 invoked by uid 500); 29 Nov 2006 14:11:32 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 36621 invoked by uid 99); 29 Nov 2006 14:11:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2006 06:11:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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, 29 Nov 2006 06:11:22 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C2750714311 for ; Wed, 29 Nov 2006 06:11:02 -0800 (PST) Message-ID: <31232546.1164809462793.JavaMail.root@brutus> Date: Wed, 29 Nov 2006 06:11:02 -0800 (PST) From: "Jonas Lim (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Resolved: (AMQ-908) Authorization plugin should have configurable principal classes In-Reply-To: <14740769.1157122643117.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-908?page=all ] Jonas Lim resolved AMQ-908. --------------------------- Fix Version/s: (was: 4.0.3) Resolution: Fixed Thanks Ken! patch applied to trunk: r480575 > Authorization plugin should have configurable principal classes > --------------------------------------------------------------- > > Key: AMQ-908 > URL: https://issues.apache.org/activemq/browse/AMQ-908 > Project: ActiveMQ > Issue Type: Improvement > Components: Broker > Affects Versions: 4.0.1 > Reporter: Aaron Mulder > Fix For: 4.2.0 > > Attachments: AuthorizationPlugin.patch, AuthorizationPlugin.patch > > > Currently, if you configure the authorization plugin, it assumes that all principals listed should be of type {{org.apache.activemq.jaas.GroupPrincipal}}. This is OK if you're using ActiveMQ LoginModules, but since there's a fairly small supply of those, it would be great if you could use arbitrary login modules and tell the authorization plugin which principal classes to use. For example, {{groupClass="weblogic.security.principal.WLSGroupImpl}} or something like that. A good first step would be to let you change the group class. A good second step would be to let you specify user and group classes and then somehow indicate which names are which (e.g. {{admin="administrators,user:aaron,user:bob"}} or whatever). Someday maybe it will be nice to support any arbitrary combination of principal classes but that seems far away. > When instantiating the principal classes, I imagine we should use a constructor with a single String argument if available, or else a default constructor plus a "setName" method, or else I guess bail. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira