How to force HTTPS use in a Java Web Application

If you want to force the users to always use https:// even if they typed in http:// url, Applying Security Constraint in Web.xml can help.

              <description>Do HTTPS redirect so that the connection is secured</description>

The above constraint re-directs the user to https URL.

[My Video Promotion]
Tagged , , , , , , , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

One Response to Complete Tutorial On Using SOAP-UI to Mock Web Service Request / Response

  1. Pingback: Twenty Differences Between SOAP and REST Webservice - Java and Android Programming Blog @

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.