Meaningless Drivel is fun!
The moose likes Servlets and the fly likes secure servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "secure servlets" Watch "secure servlets" New topic

secure servlets

Peter Straw
Ranch Hand

Joined: Jan 08, 2002
Posts: 79
Does anyone know if it is possible to enable ssl on a virtual web directory so that a servlet in one context will require username and password authentication, while another servlet in a different context will not require authentication at all.
Please help if possible - it's running tomcat on IIS.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17421

Could be a little sticky, since the context is determined from the URL. That is, if two apps have the same virtual directory, they are in the same context.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: secure servlets
It's not a secret anymore!