Skip to content

Commit

Permalink
Update was.policy for WAS9 (frankframework#2063)
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanbrakel authored Jul 26, 2021
1 parent 3180d3e commit f5e0937
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ear/src/main/application/META-INF/was.policy
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ permission java.io.FilePermission "${was.install.root}${/}profiles${/}${current.
//permission java.io.FilePermission "${was.install.root}${/}profiles${/}${current.node.name}${/}config${/}cells${/}${current.cell.name}${/}applications${/}${APPLICATION_NAME}.ear${/}deployments${/}${APPLICATION_NAME}${/}META-INF${/}ibm-application-bnd.xmi", "read";
// required to read the resources.xml from within the Ibis Console
permission java.io.FilePermission "${was.install.root}${/}profiles${/}${current.node.name}${/}config${/}cells${/}${current.cell.name}${/}nodes${/}${current.node.name}${/}servers${/}${current.server.name}${/}resources.xml", "read";
// required to read the maximum Transaction Timeout
permission java.io.FilePermission "${was.install.root}${/}profiles${/}${current.node.name}${/}config${/}cells${/}${current.cell.name}${/}nodes${/}${current.node.name}${/}servers${/}${current.server.name}${/}server.xml", "read";

permission java.util.logging.LoggingPermission "control";

Expand All @@ -59,6 +61,7 @@ permission java.net.SocketPermission "*", "connect,resolve";
// Needed for MAIL
permission java.io.FilePermission "${user.home}${/}.mailcap", "read";
permission java.io.FilePermission "${was.install.root}${/}java${/}jre${/}lib${/}mailcap", "read";
permission java.io.FilePermission "${java.home}${/}conf", "read";

// property * write required for Quartz scheduler and SpringFramework,
// as they call java.System.getProperties()
Expand Down Expand Up @@ -95,6 +98,7 @@ permission java.lang.RuntimePermission "accessClassInPackage.com.ibm.oti.shared"
permission java.lang.RuntimePermission "accessClassInPackage.jdk.internal.dynalink.support";
permission java.lang.RuntimePermission "accessClassInPackage.jdk.nashorn.internal.runtime";
permission java.lang.RuntimePermission "accessClassInPackage.jdk.nashorn.internal.runtime.*";
permission java.util.PropertyPermission "com.ibm.websphere.security.dumpJaasConfig" "read";

// required for MS SQL:
permission java.lang.RuntimePermission "accessClassInPackage.sun.jdbc.odbc";
Expand Down

0 comments on commit f5e0937

Please sign in to comment.