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 Use / code> and set security-blocker
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
Post a Comment