Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 39697 invoked from network); 2 Jul 2007 10:50:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jul 2007 10:50:37 -0000 Received: (qmail 42914 invoked by uid 500); 2 Jul 2007 10:50:27 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 42896 invoked by uid 500); 2 Jul 2007 10:50:27 -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 42885 invoked by uid 99); 2 Jul 2007 10:50:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 03:50:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 03:50:21 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1I5JTk-0007jM-Pp for users@tomcat.apache.org; Mon, 02 Jul 2007 03:50:00 -0700 Message-ID: <11391841.post@talk.nabble.com> Date: Mon, 2 Jul 2007 03:50:00 -0700 (PDT) From: is_maximum To: users@tomcat.apache.org Subject: Re: a question about user athentication In-Reply-To: <4688CB8F.9020809@pidster.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mnrz57@gmail.com References: <11388743.post@talk.nabble.com> <4688CB8F.9020809@pidster.com> X-Virus-Checked: Checked by ClamAV on apache.org Pid-2 wrote: > > Have a look at JDBCRealm (or DatasourceRealm) in the Tomcat Source. > You could alter the SQL statement for password or username so it fails > when '... status = 0'. > > Upload a jar with your new realm in it to server/lib and configure the > realm as a replacement for the one in your server.xml. > > p > > thanks but how about if I have more than one project deployed on my tomcat? I mean is there any way to specialize this authentication method for one application and for the others it remains as its default -- View this message in context: http://www.nabble.com/a-question-about-user-athentication-tf4010274.html#a11391841 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- 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