tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Easter <kris.eas...@colorado.edu>
Subject Re: tomcat security authenticator
Date Thu, 28 Jun 2012 13:51:58 GMT

> I think, if I replace the FormAuthenticator with an descendant, it'll
> solve the problem.
> 
> To extend FormAuthenticator is simple, but how can I make Tomcat to use it?

I tested this out at one time but it was never placed in production.  My
terse notes, which might be leaving something out, on doing this are:


In web.xml define auth-method as:

<auth-method>FORMOIT</auth-method>

Extract org/apache/catalina/startup/Authenticators.properties from
catalina.jar add line:

FORMOIT=mynewpackage.NewFormAuthenticator

Update catalina.jar

jar -uf catalina.jar
org/apache/catalina/startup/Authenticators.properties


HTH,
Kris


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message