Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 44495 invoked from network); 10 Aug 2006 03:58:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2006 03:58:12 -0000 Received: (qmail 78892 invoked by uid 500); 10 Aug 2006 03:57:59 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 78872 invoked by uid 500); 10 Aug 2006 03:57:59 -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 78858 invoked by uid 99); 10 Aug 2006 03:57:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 20:57:59 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [204.127.192.81] (HELO rwcrmhc11.comcast.net) (204.127.192.81) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 20:57:57 -0700 Received: from [192.168.0.101] (c-69-255-56-239.hsd1.md.comcast.net[69.255.56.239]) by comcast.net (rwcrmhc11) with ESMTP id <20060810034142m1100l3is4e>; Thu, 10 Aug 2006 03:41:42 +0000 Message-ID: <44DAAAF6.4050108@apache.org> Date: Wed, 09 Aug 2006 23:41:42 -0400 From: Mark Thomas User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Modifying saved URL from j_security_check References: <44D91C04.6050003@apache.org> In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Gregor Schneider wrote: > Hi Mark, > > something really, really strange is happening here: As you suggested, I've > subclassed org.apache.catalina.authenticator.FormAuthenticator, patched the > Authenticators.properties in catalina.jar, however, my own Authenticator is > not being used. > I thought that maybe the reason for this might be that we're running in > SSL-mode, however, same behaviour when using pure http.... Hmm. Odd. Very odd. I am using 5.5.x and other weird things are happening that I need to fix. In the mean-time, can you try plan B below? Make sure that you use the jars in your Tomcat installation to compile against. My authenticator is being called but the process is failing due to a struts error I don't yet understand. Anyway, can you try the following? Copy org.apache.catalina.authenticator.FormAuthenticator, add a System.out somewhere and place the compiled class in server/classes/org/apache/catalina/authenticator/FormAuthenticator.class Authenticators.properties should be as per a clean installation This should over-ride the class in the jar and call your code. Best of luck. Mark --------------------------------------------------------------------- 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