security-permission-spec in J2EE 1.4 RI Beta2
Andreas Mueller <[email protected]> Mon, 27 Oct 2003 16:58:35 +0100
| Newsgroups | gmane.comp.java.sun.connector |
|---|---|
| Message-ID | <[email protected]> |
Hello,
my ra.xml contains the following part:
...
<security-permission>
<description>Permissions required if the SwiftMQ Router runs
intraVM</description>
<security-permission-spec>
grant {
permission java.io.FilePermission "${swiftmq.home}/config/-",
"read, write, delete";
permission java.io.FilePermission "${swiftmq.home}/log/-", "read,
write, delete";
permission java.io.FilePermission "${swiftmq.home}/store/-",
"read, write, delete";
permission java.io.FilePermission "${swiftmq.home}/trace/-",
"read, write, delete";
permission java.lang.RuntimePermission "createClassLoader";
permission java.lang.RuntimePermission "getClassLoader";
permission java.lang.RuntimePermission "modifyThread";
permission java.lang.RuntimePermission "modifyThreadGroup";
permission java.net.SocketPermission "*", "accept, connect,
listen, resolve";
};
</security-permission-spec>
</security-permission>
</resourceadapter>
</connector>
When I deploy the RA in J2EE1.4b2, it throws a AccessControlException
"createClassLoader". Does anybody know whether the above definition is
respected in J2EE1.4b2 and how do I enable it during the deployment (with
deploytool)?
Thanks,
Andreas
--
Andreas Mueller
IIT GmbH, Bremen/Germany
http://www.swiftmq.com
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff CONNECTOR-INTEREST". For general help, send email to
[email protected] and include in the body of the message "help".