There is a sample basicPortal.sourceforge.net that does this, you can 
look at source code... and there is deployment docs.

v.

Kevin Andryc wrote:
> I was wondering how I can only protect certain classes in my application.
> For example, if someone tries to access a servlet (i.e.:
> http://localhost:8080/test/servlet/foo) then a login page comes up and the
> person has to sign in. But, if the person tries to access a different
> servlet (i.e.: http://localhost:8080/test/servlet/bar) then no login page
> appears. Can this be done in the security constraint in my web.xml? If so,
> how? I have tried before and keep getting errors!
> 
> Thanks,
> Kevin
> 
> Kevin Andryc
> Web Systems Engineer
> MISER
> http://www.umass.edu/miser/
> Phone: (413)-545-3460
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to