mirror of https://gitee.com/openkylin/batik.git
fixing paths in policy files
Forwarded: not-needed Last-Update: 2013-10-14 Gbp-Pq: Name 06_fix_paths_in_policy_files.patch
This commit is contained in:
parent
1826e1444c
commit
c2cc91b6b2
|
@ -18,19 +18,19 @@
|
|||
// $Id: svgbrowser.policy 1855026 2019-03-08 09:57:56Z ssteiner $
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
grant codeBase "${app.jar.base}/xml-apis-ext-${xmlapis.version}.jar" {
|
||||
grant codeBase "file:/usr/share/java/xml-apis-ext.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
grant codeBase "${app.jar.base}/xml-apis-${xmlapis.version}.jar" {
|
||||
grant codeBase "file:/usr/share/java/xml-apis.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
grant codeBase "${app.jar.base}/xalan-${xalan.version}.jar" {
|
||||
grant codeBase "file:/usr/share/java/xalan2.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
grant codeBase "${app.jar.base}/xercesImpl-2.9.1.jar" {
|
||||
grant codeBase "file:/usr/share/java/xercesImpl.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
|
@ -98,11 +98,11 @@ grant codeBase "${app.jar.base}/batik-xml-${version}.jar" {
|
|||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
grant codeBase "${app.jar.base}/fop-transcoder-allinone-${xmlgraphics.commons.version}.jar" {
|
||||
grant codeBase "file:/usr/share/java/fop-transcoder-allinone.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
grant codeBase "${app.jar.base}/xmlgraphics-commons-${xmlgraphics.commons.version}.jar" {
|
||||
grant codeBase "file:/usr/share/java/xmlgraphics-commons.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
|
@ -126,7 +126,7 @@ grant codeBase "${app.jar.base}/batik-svgbrowser-${version}.jar" {
|
|||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
grant codeBase "${app.jar.base}/js.jar" {
|
||||
grant codeBase "file:/usr/share/java/js.jar" {
|
||||
permission java.lang.RuntimePermission "createClassLoader";
|
||||
permission java.net.SocketPermission "*", "listen, connect, resolve, accept";
|
||||
permission java.lang.RuntimePermission "accessDeclaredMembers";
|
||||
|
|
|
@ -18,27 +18,27 @@
|
|||
// $Id: rasterizer.policy 1855026 2019-03-08 09:57:56Z ssteiner $
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
grant codeBase "${app.dev.base}/classes/" {
|
||||
grant codeBase "file:/usr/share/java/batik-all.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
grant codeBase "${app.dev.base}/lib/xml-apis-dom3.jar" {
|
||||
grant codeBase "file:/usr/share/java/xml-apis-dom3.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
grant codeBase "${app.dev.base}/lib/xerces_2_5_0.jar" {
|
||||
grant codeBase "file:/usr/share/java/xercesImpl.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
grant codeBase "${app.dev.base}/lib/fop-transcoder-allinone-${xmlgraphics.commons.version}.jar" {
|
||||
grant codeBase "file:/usr/share/java/fop-transcoder-allinone.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
grant codeBase "${app.dev.base}/lib/xmlgraphics-commons-${xmlgraphics.commons.version}.jar" {
|
||||
grant codeBase "file:/usr/share/java/xmlgraphics-commons.jar" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
grant codeBase "${app.dev.base}/lib/js.jar" {
|
||||
grant codeBase "file:/usr/share/java/js.jar" {
|
||||
permission java.lang.RuntimePermission "createClassLoader";
|
||||
permission java.net.SocketPermission "*", "listen, connect, resolve, accept";
|
||||
permission java.lang.RuntimePermission "accessDeclaredMembers";
|
||||
|
|
Loading…
Reference in New Issue