You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nathan Wilhelmi <wi...@ucar.edu> on 2008/07/23 06:00:12 UTC

Configure authentication across an entire host...

Hello - Is there any way to setup digest or basic authentication to  
cover an entire host.? Basically I would like to create a blanket  
authorization setup for a host without having to modify individual  
applications. So anything deployed in that host would require some  
simple level of authentication.

Thanks!

-Nate

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


Re: Configure authentication across an entire host...

Posted by Guojun Zhu <zg...@gmail.com>.
This might be what you want.  "Single Sign on",
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html.   It can let the
different webapp share the same realm authentication.

Guojun

On Tue, Jul 22, 2008 at 11:00 PM, Nathan Wilhelmi <wi...@ucar.edu> wrote:

> Hello - Is there any way to setup digest or basic authentication to cover
> an entire host.? Basically I would like to create a blanket authorization
> setup for a host without having to modify individual applications. So
> anything deployed in that host would require some simple level of
> authentication.
>
> Thanks!
>
> -Nate
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

RE: Configure authentication across an entire host...

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Nathan Wilhelmi [mailto:wilhelmi@ucar.edu]
> Subject: Configure authentication across an entire host...
>
> Hello - Is there any way to setup digest or basic authentication to
> cover an entire host.?

Haven't tried it, but you may be able to put appropriate <security-constraint>, <login-config>, and <security-role> elements in conf/web.xml, since that's shared by all webapps.  Use a <url-pattern> of /* to grab everybody.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

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