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?
What if I need to protect a jsp that is part of the servlet?
Thanks,
Zohar.
-
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
Thanks,
Where can I find info on how exactly to do this? maybe an example...?
- Original Message -
From: "David Delbecq" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, February 15, 2006 2:52 PM
Subject: Re: password protection
Zohar Amir a
l Message - From: "David Delbecq" <[EMAIL PROTECTED]>
> To: "Tomcat Users List"
> Sent: Wednesday, February 15, 2006 2:52 PM
> Subject: Re: password protection
>
>
>> Zohar Amir a écrit :
>>
>>> Hello,
>>> I'm using tomcat
s, so that they will all be able to
use request.getPricipal() and have the user name that logged in?
- Original Message -
From: "David Delbecq" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, February 15, 2006 3:05 PM
Subject: Re: password prote
ngine.
>>
>> Zohar Amir a écrit :
>>
>>> Thanks,
>>> Where can I find info on how exactly to do this? maybe an example...?
>>> - Original Message - From: "David Delbecq" <[EMAIL PROTECTED]>
>>> To: "Tomcat Users List&