tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Modifying saved URL from j_security_check
Date Thu, 10 Aug 2006 03:41:42 GMT
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.

<snip/>

> 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


Mime
View raw message