Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 84089 invoked from network); 5 Jul 2007 21:22:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jul 2007 21:22:31 -0000 Received: (qmail 1261 invoked by uid 500); 5 Jul 2007 21:22:21 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 873 invoked by uid 500); 5 Jul 2007 21:22:19 -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 862 invoked by uid 99); 5 Jul 2007 21:22:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2007 14:22:19 -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; Thu, 05 Jul 2007 14:22:14 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1I6Ylt-0001vI-HU for users@tomcat.apache.org; Thu, 05 Jul 2007 14:21:53 -0700 Message-ID: <11454885.post@talk.nabble.com> Date: Thu, 5 Jul 2007 14:21:53 -0700 (PDT) From: is_maximum To: users@tomcat.apache.org Subject: RE: a question about user athentication In-Reply-To: <3A55348B50FD2A40AAA40ABA16C6B6D60B70C830@EXNJMB23.nam.nsroot.net> 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> <3A55348B50FD2A40AAA40ABA16C6B6D60B70C830@EXNJMB23.nam.nsroot.net> X-Virus-Checked: Checked by ClamAV on apache.org Thank you all for replying I wanted to prevent the users who were deleted already to logging in. I resolve my problem by extending a class from JDBCRealm and override the getConnection() method (I'm not sure about the method name) and put my "select" statement with my favorite where clause "where status = 0 and username = ?" and in security-filter.xml I declared my class instead of tomcat's JDBCRealm thank you again -- View this message in context: http://www.nabble.com/a-question-about-user-athentication-tf4010274.html#a11454885 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