jfarcand 2002/12/13 13:57:26 Modified: catalina/src/conf catalina.policy catalina.properties Log: Do some clean up. Use the new security mechanism instead of the policy file for Tomcat internal package protection. Revision Changes Path 1.8 +1 -4 jakarta-tomcat-catalina/catalina/src/conf/catalina.policy Index: catalina.policy =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/conf/catalina.policy,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- catalina.policy 7 Nov 2002 19:04:55 -0000 1.7 +++ catalina.policy 13 Dec 2002 21:57:26 -0000 1.8 @@ -100,9 +100,6 @@ permission java.util.PropertyPermission "java.vm.vendor", "read"; permission java.util.PropertyPermission "java.vm.name", "read"; - // Required for getting BeanInfo - permission java.lang.RuntimePermission "accessClassInPackage.sun.beans.*"; - // Required for OpenJMX permission java.lang.RuntimePermission "getAttribute"; 1.6 +1 -1 jakarta-tomcat-catalina/catalina/src/conf/catalina.properties Index: catalina.properties =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/conf/catalina.properties,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- catalina.properties 4 Nov 2002 20:22:43 -0000 1.5 +++ catalina.properties 13 Dec 2002 21:57:26 -0000 1.6 @@ -4,7 +4,7 @@ # passed to checkPackageAccess unless the # corresponding RuntimePermission ("accessClassInPackage."+package) has # been granted. -package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper. +package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans. # # List of comma-separated packages that start with or equal this string # will cause a security exception to be thrown when
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>