You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by shahed <sh...@enoor.com> on 2000/11/15 21:54:26 UTC
WWW-Authentication with Tomcat
How can I do a www-authentication with a jsp page ?
I tried to set a header in the response of a page, and that
bought up the popup uid/pwd window, but how do I get the
values back ?
Thanks
Shahed
Re: WWW-Authentication with Tomcat
Posted by Danno Ferrin <sh...@earthlink.net>.
You need to set up the web-app to require authentication. In the
web.xml in the WEB-APP directory you need to add a security-constraint
element and a login-config element. There are examples in the examples
web-app.
--Danno
shahed wrote:
> How can I do a www-authentication with a jsp page ?
> I tried to set a header in the response of a page, and that
> bought up the popup uid/pwd window, but how do I get the
> values back ?
>
> Thanks
> Shahed
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>
>
>