It's not a secret anymore!
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: 17023

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.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: secure servlets
It's not a secret anymore!