Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 51310 invoked from network); 3 Jun 2010 18:13:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Jun 2010 18:13:39 -0000 Received: (qmail 18347 invoked by uid 500); 3 Jun 2010 18:13:36 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 18262 invoked by uid 500); 3 Jun 2010 18:13:36 -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 18253 invoked by uid 99); 3 Jun 2010 18:13:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 18:13:36 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of george.pucea@gmail.com designates 209.85.160.173 as permitted sender) Received: from [209.85.160.173] (HELO mail-gy0-f173.google.com) (209.85.160.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 18:13:29 +0000 Received: by gyd5 with SMTP id 5so296487gyd.18 for ; Thu, 03 Jun 2010 11:13:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=5OocN0l7CU/RVUlFBYmTt93h8aPxXxSgwXJ5Bj9GkFQ=; b=CMkeS8MaFZpc/gourXkmCeure7oNU5KhI/Ymm+QI2nNI4vH82o1Gdd9n8qXjJJ2AWd V6UZGreBvPNPjlFYnYpG7Y+gZ8+Njukck3sm9Bdt6nU6sOZfNhJBfMVEV63Fb+aFoLTM 4bnKQpJW0Z7i/U5R7X0DHy6Gyn9Fle1f6hnZ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Ues16tdXyk/7EIus/w/V0Mbmsbabq5vYZjy2pC/tR3yJv9nsgbcDJlMsoq5BhxZAtr QXPGYSMhNHXbPDY+yUwImkV8Qp6UwHTZts+C7Yo1Kmk5xklodkLEZY+dNJrTV3eiO0nK d8O/a0ZO3ena7IdfhMsNOBXtj7YkBQRZgYiHQ= MIME-Version: 1.0 Received: by 10.101.106.10 with SMTP id i10mr11346356anm.99.1275588786827; Thu, 03 Jun 2010 11:13:06 -0700 (PDT) Received: by 10.100.226.7 with HTTP; Thu, 3 Jun 2010 11:13:06 -0700 (PDT) In-Reply-To: <08382548D50D3049BD5599E1E3146B34106E1A4C54@exgtmb06.nam.nsroot.net> References: <4C07E238.2030208@pidster.com> <08382548D50D3049BD5599E1E3146B34106E1A4C54@exgtmb06.nam.nsroot.net> Date: Thu, 3 Jun 2010 21:13:06 +0300 Message-ID: Subject: Re: HTTP Status 400 - Invalid direct reference to form login page! From: Gheorghe Pucea To: Tomcat Users List Content-Type: multipart/alternative; boundary=001636c5c19584b31e04882428ac X-Virus-Checked: Checked by ClamAV on apache.org --001636c5c19584b31e04882428ac Content-Type: text/plain; charset=ISO-8859-1 Hello Barry, Exactly that is my problem, on every forum says that this error happens when you access directly the login page, but when I log out from my app I redirect the url to point to a restricted resource then my login page appears and when I enter the username/password the error apears. So after the log out I don't point directly to the login page insted I point to a restricted page and when I get redirected to the login I type my username/pass and I get the error. Thank you very much for your time, I really appreciate!!!!!!! On Thu, Jun 3, 2010 at 8:51 PM, Propes, Barry L wrote: > Yeah, I'd say he shouldn't be going "back to the login page" but rather to > the protected page. > > -----Original Message----- > From: Pid [mailto:pid@pidster.com] > Sent: Thursday, June 03, 2010 12:11 PM > To: Tomcat Users List > Subject: Re: HTTP Status 400 - Invalid direct reference to form login page! > > On 03/06/2010 15:29, Gheorghe Pucea wrote: > > Hello, > > > > I have a problem with my Tomcat instance, I'm using: > > > > Tomcat 6.0.26 > > Java jdk 1.5.0_17 > > Windows XP SP3 > > > > I have implemented a JAAS login module for my application and > > everything goes fine except from one thing. > > > > Here are the steps that I am doing: > > > > > > 1)Request a protected resource -> the login form show's up and I > > enter my username and password > > > 2) I get into the application and everything looks fine but when I get > > back to the login page and enter my username/password again I get the > message: > > (If I refresh the login page immediately when I hit the logout button > > everything goes weel) > > Please explain what you mean by "when I get back to the login page". > > Why are you going back to the login page? > > > p > > > > HTTP Status 400 - Invalid direct reference to form login page > > ------------------------------ > > > > *type* Status report > > > > *message* *Invalid direct reference to form login page* > > > > *description* *The request sent by the client was syntactically > > incorrect (Invalid direct reference to form login page)* > > > > * > > * > > > > * > > * > > > > * > > * > > > > *Thank you very much!* > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --001636c5c19584b31e04882428ac--