Last modified by Eleni Cojocariu on 2026/11/25 14:50

Show last authors
1 Historically, [[Apache Tomcat>>https://tomcat.apache.org/]] could run applications with the [[Java Security Manager>>https://tomcat.apache.org/tomcat-8.0-doc/security-manager-howto.html]] enabled by starting Tomcat with the ##-security## option. This mechanism allowed web applications to run in a restricted Java security environment with restricted permissions configured through the ##catalina.policy## file.
2
3 However, starting with Java 17, the Java Security Manager was deprecated for future removal by [[OpenJDK>>https://openjdk.org/jeps/486]]. The Tomcat documentation therefore introduced the following warning starting with [[Tomcat 9>>https://tomcat.apache.org/tomcat-9.0-doc/security-manager-howto.html#Known_Issues]]:
4
5 >As of Java 17, the SecurityManager has been deprecated with the expectation that it will be removed in a future Java version. Users currently using a SecurityManager are recommended to start planning for its removal.
6
7 XWiki releases only [[support Java versions>>dev:Community.SupportStrategy.JavaSupportStrategy.WebHome]] where the Security Manager is already deprecated or removed.

Get Connected