tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zohar Amir" <david_fi...@hotmail.com>
Subject Re: password protection
Date Wed, 15 Feb 2006 13:02:35 GMT
Thanks,
Where can I find info on how exactly to do this? maybe an example...?
----- Original Message ----- 
From: "David Delbecq" <delbd@oma.be>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Wednesday, February 15, 2006 2:52 PM
Subject: Re: password protection


> Zohar Amir a écrit :
>
>> Hello,
>> I'm using tomcat 5.5.15 on Win XP.
>> I have a servlet that is deployed on a certain context. I would like
>> anyone trying to use that servlet use a username-password. how do I do
>> this?
>
> set a security-constrain in WEB-INF/web.xml
>
>> What if I need to protect a jsp that is part of the servlet?
>
> You mean to prevent direct loading of a jsp included by your servlet?
> Same thing, add a security-constraint to the url of your jsp.
>
>> Thanks,
>> Zohar.
>> ---------------------------------------------------------------------
>> 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
>
> 

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


Mime
View raw message