on 1/16/02 2:06 PM, Josh Nylander at [EMAIL PROTECTED] wrote: > As a followup, if this is not currently possible (I don't think it is), I > would be willing to work on the code if pointed in the right direction. > > I believe I would have to modify the configuration classe(s) and figure out > where the Authentication classes are called. > > R. Josh Nylander > PC/LAN Technician I > Information Services > [EMAIL PROTECTED] > x50116 or (360) 676-7684 > >>>> [EMAIL PROTECTED] 01/16/02 01:09PM >>> >> Hello, I am new to the list but checked the archives for similar question. >> >> I want to build some custom Authenticators and a custom Realm. My question >> is, can I associate a different authenticator class with a authentication >> method in the context like we do for the Realm? >> >> Example: >> <Authenticator className="org.me.mySSLAuthenticator" method="SSL" /> >> <Authenticator className="org.me.myFormAuthenticator" method="FORM" /> >> >> R. Josh Nylander >> PC/LAN Technician I >> Information Services >> [EMAIL PROTECTED] >> x50116 or (360) 676-7684
There's a resource file in the same directory of the JAR as the AuthenticatorBase class, if memory serves, which configures the authenticator to use for each method. "jar tf catalina.jar | grep auth" should show you; it's called Authenticator.properties or something like that. (Sorry, I don't have the sources handy.) You can either replace it in the Catalina JAR or simply change it in the source tree and rebuild. -- Clayton Wheeler [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>