File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 15964
    
  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.
 
jQuery in Action, 2nd edition
 
subject: secure servlets
 
Similar Threads
Password-protected RSS
Restrict a PDF File
Java Rebel Screencast
url connection using https?
Authentication with JSP question and "referer" header