Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 19247 invoked by uid 500); 25 Jul 2001 21:07:52 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 19219 invoked from network); 25 Jul 2001 21:07:52 -0000 From: "Kevin Jones" To: Subject: RE: Form based logon problems in T4B6 Date: Wed, 25 Jul 2001 22:06:07 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Importance: Normal In-Reply-To: X-OriginalArrivalTime: 25 Jul 2001 21:05:45.0278 (UTC) FILETIME=[923645E0:01C1154D] X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N OK Kevin Jones DevelopMentor www.develop.com > -----Original Message----- > From: Craig R. McClanahan [mailto:craigmcc@apache.org] > Sent: 25 July 2001 00:10 > To: Tomcat-Dev > Subject: Re: Form based logon problems in T4B6 > > > Sounds like a bug introduced when the functionality was modified recently, > to do redirects instead of forwards. Could you do me a favor and file a > bug report so it gets tracked? > > Thanks, > Craig > > > On Tue, 24 Jul 2001, Kevin Jones wrote: > > > I can't get form based logon to work reliably in Beta6 (in fact I've had > > problems for a while) > > > > I have a webapp (called course) and a sub directory (gjava) which is > > protected. I'm using form based logon with the username and password in > > tomcat-users.xml. > > > > i) If I try and access a resource in \course\gjava I get the > logon page, if > > I enter a valid username and password everything works. > > > > ii) If I try and access a resource in \course\gjava I get the > logon page, if > > I enter an invalid username and password I get the logon page > again - *not* > > the error page. > > > > iii) If I try and access a resource in \course\gjava I get the > logon page, > > if I enter a valid username and password everything works. But > if I hit the > > back button and then enter an invalid username/password I get redirected > > here http://localhost/course/gjava/j_security_check and get a 404 error > > > > iv) If I try and access a resource in \course\gjava I get the > logon page, if > > I enter an invalid username and password I get the logon page > again - *not* > > the error page. If I now enter the correct password I get the > error page, > > > > Kevin Jones > > DevelopMentor > > www.develop.com > > > > >