Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 29894 invoked from network); 21 Oct 2005 04:56:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Oct 2005 04:56:21 -0000 Received: (qmail 18620 invoked by uid 500); 21 Oct 2005 04:56:03 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 18563 invoked by uid 500); 21 Oct 2005 04:56:00 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 18530 invoked by uid 99); 21 Oct 2005 04:55:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2005 21:55:59 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.63.108.52] (HELO usbb-lacimss2.unisys.com) (192.63.108.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2005 21:54:44 -0700 Received: from USBB-LACGW3.na.uis.unisys.com ([129.224.98.43]) by usbb-lacimss2 with InterScan Messaging Security Suite; Fri, 21 Oct 2005 01:07:41 -0400 Received: from USBB-LACGW3.na.uis.unisys.com ([129.224.98.44]) by USBB-LACGW3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 21 Oct 2005 00:54:22 -0400 Received: from USRV-EXCH1.na.uis.unisys.com ([129.225.81.6]) by USBB-LACGW3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 21 Oct 2005 00:54:22 -0400 Received: from USRV-EXCH4.na.uis.unisys.com ([192.61.245.232]) by USRV-EXCH1.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 20 Oct 2005 23:54:22 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Bug in RealmBase, JAASRealm, and/or Requestt object preventing proper role authorization Date: Thu, 20 Oct 2005 23:54:21 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Bug in RealmBase, JAASRealm, and/or Requestt object preventing proper role authorization Thread-Index: AcXV+e7B0N6rPv4QSOOjtJwhQZahlwAAK5Bg From: "Caldarale, Charles R" To: "Tomcat Users List" X-OriginalArrivalTime: 21 Oct 2005 04:54:22.0126 (UTC) FILETIME=[809DCCE0:01C5D5FB] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > From: Brad O'Hearne [mailto:brado@neurofire.com]=20 > Subject: Re: Bug in RealmBase, JAASRealm, and/or Requestt=20 > object preventing proper role authorization >=20 > The JAASRealm takes whatever user principal you have and the role =20 > principal you have added to the subject, and creates a new =20 > GenericPrincipal class That's the part I was missing - that JAASRealm creates a new object, and does not attempt to use your custom principal, even if it is a subclass of GenericPrincipal. > Btw, it appears that this was already logged as bug: > http://issues.apache.org/bugzilla/show_bug.cgi?id=3D37044 The resolution is fixed, but it doesn't say what build level the fix will be in. Could check the nightlies, I suppose. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org