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

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -