Projects
openEuler:24.03:SP1:Everything
tomcat
_service:tar_scm:tomcat-9.0-catalina-policy.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:tomcat-9.0-catalina-policy.patch of Package tomcat
--- tomcat/conf/catalina.policy.orig 2022-11-04 16:17:41.227506990 +0800 +++ tomcat/conf/catalina.policy 2022-11-04 16:21:51.393351415 +0800 @@ -56,6 +56,15 @@ grant codeBase "file:${java.home}/lib/ex // permission java.security.AllPermission; //}; +// ========== RHEL SPECIFIC CODE PERMISSIONS ======================================= + + +// Allowing everything in /usr/share/java allows too many unknowns to be permitted +// Specifying the individual jars that tomcat needs to function with the security manager +// is the safest way forward. +grant codeBase "file:/usr/share/java/ecj/ecj.jar" { + permission java.security.AllPermission; +}; // ========== CATALINA CODE PERMISSIONS ======================================= @@ -261,4 +270,4 @@ grant codeBase "file:${catalina.home}/we // // The permissions granted to a specific JAR // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { -// }; \ No newline at end of file +// };
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2