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 Using https Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Using https" Watch "Using https" New topic
Author

Using https

dina raj
Greenhorn

Joined: Dec 06, 2005
Posts: 17
I need to develop a secure web -application that can be accessed by only using https. I have included this in my web.xml
<security-constraint>
<web-resource-collection>
<web-resource-name> My Name</web-resource-name>
<url-pattern>/CustomerPinChange/*</url-pattern>
<http-method>GET</http-method>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>

But it does not work. Do I have to make any changes or include anything else?
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
How to configure SSL over Tomcat.
[ January 05, 2006: Message edited by: Adeel Ansari ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using https