aspose 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


Win a copy of Java 8 in Action this week in the Java 8 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: 15661
    
  15

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: http://aspose.com/file-tools
 
subject: secure servlets
 
Similar Threads
Password-protected RSS
Java Rebel Screencast
Restrict a PDF File
url connection using https?
Authentication with JSP question and "referer" header