You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Giovanni Formenti <fo...@ariadne.it> on 2003/05/07 15:28:13 UTC

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