tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Klancer" <calh...@calhoun.plus.com>
Subject RE: Basic Auth
Date Wed, 07 May 2003 14:54:33 GMT
Why don't you take a look at the source of the already existing
Authenticators
(${tomcat.source}\catalina\src\share\org\apache\catalina\authenticator)
for pointers on how to go about this?

> -----Original Message-----
> From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com] 
> Sent: 07 May 2003 14:34
> To: Tomcat Users List
> Subject: RE: Basic Auth
> 
> 
> 
> Howdy,
> You may have to do no coding: use basic auth and tomcat's 
> built-in Remote Address valve: 
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> >-----Original Message-----
> >From: Giovanni Formenti [mailto:formenti@ariadne.it]
> >Sent: Wednesday, May 07, 2003 9:28 AM
> >To: Tomcat Users List
> >Subject: Basic Auth
> >
> >Hallo,
> >i need to expand the Tomcat's Basic Auth to handle an remoteAddr
> validation
> >too... in other words i need to check username, password and 
> remoteIP. 
> >I can use the standard Tomcat's Basic Auth and then test the IP in a 
> >servlet (how can i get the username used in the Basic Auth?!) but in 
> >this case
> i
> >need to read the realm configuration (in server.xml) to know the
> database
> >that contains users info (this way to maintain the Tomcat 
> configuration 
> >insted of make another config file pointing to the user-ip 
> database). 
> >Or, i think it's better, i can extend the java class that make the
> basic
> >auth... but i don't know what is the class!
> >
> >Any suggestion?!
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 
> 
> This e-mail, including any attachments, is a confidential 
> business communication, and may contain information that is 
> confidential, proprietary and/or privileged.  This e-mail is 
> intended only for the individual(s) to whom it is addressed, 
> and may not be saved, copied, printed, disclosed or used by 
> anyone else.  If you are not the(an) intended recipient, 
> please immediately delete this e-mail from your computer 
> system and notify the sender.  Thank you.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


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


Mime
View raw message