tomcat - How to ensure SSL-only access without authorising in Java webapp? -


I'm interested in ensuring that some pages in a webpage may only be available via https, but I do not want to To authenticate users

Can I declare this declaratively with security-constraints?

(Tommak 5.5, Servlet Space 2.3 - This is a legacy ...)

< P>

A security-blocker

Use / code> and set transport-guaranteed confidential

  & lt; Security-lock & gt; & Lt; Web resource collection & gt; & Lt; Web-Resource-Name & gt; SSL redirect & lt; / Web-resource-name & gt; & Lt; URL pattern & gt; * & Lt; / URL pattern & gt; & Lt; / Web resource collection & gt; & Lt; User data-barrier & gt; & Lt; Transportation-guaranteed & gt; Confidential & lt; / Transportation-Guarantee & gt; & Lt; / User data-barrier & gt; & Lt; / Safety-barrier & gt;  


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -