tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaudhuri, Hiran" <Hiran.Chaudh...@softwareag.com>
Subject RE: Custom org.apache.catalina.authenticator
Date Tue, 13 Aug 2002 07:37:53 GMT
Hi there.

I also am interested in exchanging the authenticator. But I could not find
the properties file mentioned below in Tomcat 4.1.8. However I found the
NonLoginAuthenticator (exactly what I was trying to do), and a properties
file in org.apache.catalina.startup.

Do I understand correctly that this authenticator is activated just by
specifying
<auth-method>NONE</auth-method>
in web.xml?

Hiran

-----------------------------------------
Hiran Chaudhuri
SAG Systemhaus GmbH
Elsenheimerstra?e 11
80687 Munchen
Germany
Hiran.Chaudhuri@softwareag.com
Phone +49-89-54742-134
Fax   +49-6151-9234-5134

> -----Original Message-----
> From: Craig R. McClanahan [mailto:craigmcc@apache.org]
> Sent: Tuesday, July 30, 2002 2:52 AM
> To: Tomcat Users List
> Subject: Re: Custom org.apache.catalina.authenticator
> 
> 
> 
> 
> On Mon, 29 Jul 2002, Tim McLaughlin wrote:
> 
> > Date: Mon, 29 Jul 2002 16:00:17 -0700
> > From: Tim McLaughlin <tim@macwebb.com>
> > Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> > To: tomcat-user@jakarta.apache.org
> > Subject: Custom org.apache.catalina.authenticator
> >
> > Hello,
> >
> > The Question:
> > How do I specify a class other than
> > org.catalina.authenticator.BasicAuthenticator to handle Basic
> > authentication?
> >
> 
> There is a properties file in the org.apache.catalina.authenticator
> package that defines the mapping of authentication method to 
> classname.
> You would need to customize this file in
> $CATALINA_HOME/server/lib/catalina.jar.
> 
> Or, an easier approach would be to copy your customized 
> version of this
> file into the
> $CATALINA_HOME/server/classes/org/apache/catalina/authenticato
> r directory
> (which you'd have to create).  This works because the Catalina class
> loaders load from the "classes" directory before they load 
> from JAR files
> in the corresponding "lib" directory -- this works both for the server
> class loader (server/classes before server/lib), the common 
> class loader
> (common/classes before common/lib) and the webapp class loader
> (WEB-INF/classes before WEB-INF/lib).
> 
> Craig
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:tomcat-user-help@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message