Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 27739 invoked from network); 13 Sep 2006 15:52:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Sep 2006 15:52:09 -0000 Received: (qmail 22506 invoked by uid 500); 13 Sep 2006 15:51:57 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 22475 invoked by uid 500); 13 Sep 2006 15:51:56 -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 22464 invoked by uid 99); 13 Sep 2006 15:51:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Sep 2006 08:51:56 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MANY_EXCLAMATIONS,PLING_QUERY,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of atlasloewenherz@googlemail.com designates 64.233.184.237 as permitted sender) Received: from [64.233.184.237] (HELO wr-out-0506.google.com) (64.233.184.237) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Sep 2006 08:51:47 -0700 Received: by wr-out-0506.google.com with SMTP id 55so783167wri for ; Wed, 13 Sep 2006 08:51:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=qKneAtryJu37yd9Od4WF4nCpTFDVDiMjq4QlpRbx/6RRZ7d87cRusyXWOrMNvfd0e3VYo33SXyGMb642bbzJksfLBBq3Epi6e4YwvPFYAKisJGmLD0/GZlZnQJxLkdRN2bj1K7MtEZ9CCrCfyjAepisS6823MPOja44n68StPO4= Received: by 10.90.100.6 with SMTP id x6mr2784031agb; Wed, 13 Sep 2006 08:51:19 -0700 (PDT) Received: by 10.90.93.14 with HTTP; Wed, 13 Sep 2006 08:51:19 -0700 (PDT) Message-ID: <87ffe3d50609130851j4c27381ev67b4e15ba850e81f@mail.gmail.com> Date: Wed, 13 Sep 2006 17:51:19 +0200 From: "Yassine ELassad (YEL)" Sender: atlasloewenherz@googlemail.com To: "Tomcat Users List" Subject: Re: Tomcat 5.5: Servlet skips FormAuthentication?!?!? In-Reply-To: <450820F5.1020908@oma.be> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <450820F5.1020908@oma.be> X-Google-Sender-Auth: 4cd0f376cb0afef0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi David, unfortunately your suggestion did not solve the problem, any other suggestions are appreciated merci ! Greetings Yassine On 9/13/06, David Delbecq wrote: > The servlet is mapped to / > The security constraint is mapped to /* > That's your problem. Map your security constraint to * instead > > > Gregor Schneider a =E9crit : > > Dear all, > > > > we have some very odd behaviour here. > > > > First the basic: > > > > - Tomcat 5.5.17 > > - Debian Sarge > > - Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) > > > > We do have several Sevlets which require and use FormBased Login using > > Tomcat's internal FormAuthenticator. > > > > Now we've created another small servlet. Copied the web.xml of our > > working servlets, adapted that one and deployed it (copied to > > $catalina_home/webapps). > > > > The servlet is deployed, and it gets called, however, we do not see > > the Form where we can put in our credentials (aka Login-screen). The > > necessary JSP-files are in place, rights are set properly, Tomcat in > > Debug-mode doesn't show any clue in it's logs. > > > > This is our web.xml: > > > > > > > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation=3D"http://java.sun.com/xml/ns/j2ee > > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> > > > > > > Protected Area > > /* > > > > > > domuser > > > > > > > > FORM > > Dom4Bereich > > > > /jsp/loginForm.html > > /jsp/error.html > > > > > > > > DOM-Users > > domuser > > > > > > SingleSignOn > > com.cr.web.sso.CRSSO > > > > > > SingleSignOn > > / > > > > > > > > We also do have a context-definition which exists in > > $catalina_home/conf/Catalina/localhost/CRSSO.xml: > > > > > reloadable=3D"true" > > docBase=3D"${catalina.home}/webapps/CRSSO" > > workDir=3D"${catalina.home}/work" > > > > > > auth=3D"Container" > > type=3D"javax.sql.DataSource" > > driverClassName=3D"com.mysql.jdbc.Driver" > > url=3D"jdbc:mysql://dekold4712/apacheSSO" > > username=3D"username" > > password=3D"password" > > maxActive=3D"100" > > maxIdle=3D"30" > > maxWait=3D"10000"/> > > > > > > > > > > Does any of you guys have any clue for us? We're really about to jump > > out of the window (and it's the 3rd floor, mind you!) > > > > TIA > > > > Greg & Yassine > > > --------------------------------------------------------------------- > 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 > > --=20 (e=3D=3Dmc=B2)? --------------------------------------------------------------------- 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