Unable to get Tomcat Security constraints working for conf\web.xml -
i have tomcat webapp deployed using security constraints @ web-inf level (webapps\app1\web-inf\web.xml). works on well:
<security-constraint> <web-resource-collection> <web-resource-name>app1</web-resource-name> <url-pattern>/*</url-pattern> </web-resource-collection> <user-data-constraint> <transport-guarantee>confidential</transport-guarantee> </user-data-constraint> </security-constraint>
it directs users https if try go through http. issue can not work @ conf level. (conf/web.xml)
why wouldn't work @ level if works fine in webapps?
Comments
Post a Comment