tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronald Haring" <ronald.har...@siennax.com>
Subject Re: RE: defining a login-servlet for the entire servlet
Date Mon, 10 Jul 2000 19:57:32 GMT
Thx Nacho for your reply,
it still leaves me wondering tho.
You said that I had to check out the example in webapps, web.xml, but 
this means that the localhost:8080/examples will have an authentication 
process. Can I use this same procedure for the complete website, meaning
if a user goes to one of our websites using a url (like 
www.kpn.siennax.com or www.somethingelse.siennax.com or 
www.ilcampo.siennax.com/asp/news/frontpage.asp) than a webapp isnt 
requested (or requested on another server), since this request will be 
handled by our servers furtherdown the road. But those servers only use 
basic authentication and for session state I want to first make them 
login on the tomcat webserver which sits in front of our proxy.

----- Original Message -----
From: Nacho <nacho@siapi.es>
Date: Monday, July 10, 2000 7:16 pm
Subject: RE: defining a login-servlet for the entire servlet

> Hola :
> 
> I think form-based security suits to your needs, in Tomcat 3.2 you can
> put form-based security to work AFAIK, and give it a whirl. un comment
> the related sections of %TOMCAT_HOME%\webapps\examples\WEB-INF\web.xml
> to check this as by default is BASIC the security that can be tested.
> 
> Is easy to make the entire Tomcat webserver authenticate in every
> request, delete not needed contexts, a make yours authenticate in 
> everyrequest.
> 
> All this operations are documented in the Servlet Spec 2.2 that 
> you can
> get from http://java.sun.com/products/servlet/index.html
> 
> And not sounds odd, :-).
> 
> Saludos ,
> Ignacio J. Ortega
> 
> 
> > -----Mensaje original-----
> > De: Ronald Haring [mailto:ronald.haring@siennax.com]
> > Enviado el: lunes 10 de julio de 2000 17:42
> > Para: tomcat-dev@jakarta.apache.org
> > Asunto: defining a login-servlet for the entire servlet
> > 
> > 
> > Hi there,
> > 
> > I would like to know how I can make a default login servlet 
> > for the entire
> > server. This may sound odd, but I want to install a tomcat 
> > webserver in
> > front of our proxy server to maintain sessions. Since the 
> > proxy server is
> > written in c and uses NSAPI-c commands there is no session 
> > support. In the
> > future we will transfer this proxy to a java proxy server but 
> > for the time
> > being I just want to have ALL the request go to the login 
> > servlet. After the
> > user has been authenticated the request is passed on to the 
> > proxy server
> > (with the authentication turned off) and the proxy can than 
> > dispatch it to
> > all the other servers (depending on url's and rules in the proxy).
> > 
> > Can someone give me a hint or tell me where I can go and look 
> for more
> > information?
> > 
> > Thx in advance
> > Ronald
> > --------------------------------------------
> > All those who believe in telekinesis, raise my hand.
> > 
> > 
> > 
> > -----------------------------------------------------------------
> ----
> > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> > 
> 
> -------------------------------------------------------------------
> --
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 


Mime
View raw message