wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "secure servlets" Watch "secure servlets" New topic
Author

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: 15950
    
  19

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.
 
Consider Paul's rocket mass heater.
 
subject: secure servlets
 
Similar Threads
Restrict a PDF File
Java Rebel Screencast
url connection using https?
Password-protected RSS
Authentication with JSP question and "referer" header