Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Basic Auth without modification to web.xml?

Andrew Miehs

2006-12-23

Replies:

Hi Andreas,

Why not just pack an Apache Httpd out front, and use access rules?

Regards,

Andrew

On 23/12/2006, at 1:22 PM, Andreas Schildbach wrote:

> Hi everyone,
>
> Is it possible with Tomcat to "hide" an application behind a Basic
> Authentication (or something similar), without modifying the web
> application itself (also not modifying web.xml)?
>
> I am thinking about adding a Valve or something to the context.xml.
> The
> content to be protected would just be the whole application, and there
> is only one user/role needed that has access. Is there something like
> this possible?


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.