tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aggarwal, Ajay" <Ajay.Aggar...@stratus.com>
Subject RE: Source Address based Realms
Date Tue, 19 Oct 2010 16:13:15 GMT
> you are already fronting Tomcat with another webserver ?
No, Tomcat is the only web server and I am not looking to front it with another webserver.

-----Original Message-----
From: André Warnier [mailto:aw@ice-sa.com] 
Sent: Tuesday, October 19, 2010 11:01 AM
To: Tomcat Users List
Subject: Re: Source Address based Realms

Aggarwal, Ajay wrote:
> I need to treat my clients differently depending on where they came
> from. I need to trust all requests coming locally (i.e. from
> 127.0.0.1/localhost) and not require them to authentication. However all
> external requests need to go through authentication. Is there a way to
> configure Realms in Tomcat to accommodate this? 
> 
>  
> 
> Is there another way to achieve this, i.e. without using Realms or
> missing valve/filters with Realms?
> 
>  
Maybe phrasing the problem in a different way would throw another light on the issue :

You want to automatically authenticate requests coming from a given IP (or IP range), for

example by authenticating them as user "local", and not do this for other requests, which

then would have to go through a normal authentication.

Since I am more familiar with Apache httpd than with Tomcat, I will ask if by any chance 
you are already fronting Tomcat with another webserver ?


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


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


Mime
View raw message