Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 62481 invoked from network); 15 Aug 2007 13:40:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Aug 2007 13:40:10 -0000 Received: (qmail 47485 invoked by uid 500); 15 Aug 2007 13:39:57 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 47462 invoked by uid 500); 15 Aug 2007 13:39:57 -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 47451 invoked by uid 99); 15 Aug 2007 13:39:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 06:39:57 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.61.61.105] (HELO usea-naimss3.unisys.com) (192.61.61.105) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 13:39:53 +0000 Received: from usea-nagw2.na.uis.unisys.com ([129.224.72.18]) by usea-naimss3 with InterScan Message Security Suite; Wed, 15 Aug 2007 08:39:26 -0500 Received: from usea-nagw2.na.uis.unisys.com ([129.224.72.53]) by usea-nagw2.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 15 Aug 2007 08:38:24 -0500 Received: from USRV-EXCH4.na.uis.unisys.com ([192.61.245.232]) by usea-nagw2.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 15 Aug 2007 08:38:24 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: tomcat memory realms & tomcat-users.xml Date: Wed, 15 Aug 2007 08:38:22 -0500 Message-ID: In-Reply-To: <46C29F6D.6030109@sra.com.au> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: tomcat memory realms & tomcat-users.xml Thread-Index: AcffBtpYqRDRpR0WSFOV9xUuRIwCuAAOZ25g References: <46C29F6D.6030109@sra.com.au> From: "Caldarale, Charles R" To: "Tomcat Users List" Cc: "Sarina Caruso" X-OriginalArrivalTime: 15 Aug 2007 13:38:24.0365 (UTC) FILETIME=[8D86F9D0:01C7DF41] X-Virus-Checked: Checked by ClamAV on apache.org > From: Matthew Kerle [mailto:matthew.kerle@sra.com.au]=20 > Subject: tomcat memory realms & tomcat-users.xml >=20 > I've read the tomcat docs on memory realm:=20 > http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#MemoryRealm,=20 > and I want to expose the org.apache.catalina.UserDatabase=20 > class to the web service context via a . You probably don't want to do that (even if it's possible, which I doubt), since all code in the webapps would then have access to the credentials. > I'd like to be able to authenticate users without having=20 > to add a to my web.xml, so that > unauthenticated clients can still connect. URL patterns in the allow you to control which portions of the webapp are accessible to unauthenticated users. If you want something with finer granularity, a filter is probably appropriate. Take a look at: http://securityfilter.sourceforge.net/ for a popular one. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org