SQL/MX Programming Manual for Java
Getting Started
HP NonStop SQL/MX Programming Manual for Java—523726-003
2-7
Establishing Java Security
At run time, you must also have these required permissions for the directory that
contains the SQLJ program:
grant codeBase "file:path-to-my-SQLJ-program" {
permission java.security.AllPermission;
};
For example, if an SQLJ program exists in the /usr/mydir/production directory,
the policy file must have these permissions:
grant codeBase "file:/usr/mydir/production" {
permission java.security.AllPermission;
};
For information about policy file syntax and Java security, see the Sun Microsystems
Java documentation.