All,
This is a quick question about Java permissions in the current revision
of Phoenix. We over at the James project have run into an issue with
certain configurations of James (specifically use of a database) that
seem to cause us to run afoul of the Java permissions. This comes up on
our user list about once or twice a month, and the standard answer
that's been given is "set PHOENIX_SECURE to false".
IMHO, this isn't the best approach. I'd like to get the policy elements
in the environment.xml to be correct. Right now we have:
<policy>
<grant code-base="file:${app.home}${/}blocks${/}*">
<permission class="java.security.AllPermission" />
</grant>
<grant code-base="file:${app.home}${/}lib${/}*">
<permission class="java.security.AllPermission" />
</grant>
</policy>
This clearly isn't right, as neither the blocks or lib subdirectories of
${app.home} exist. I suspect this is a holdover from an older version
of Phoenix. With the latest Phoenix, what is the correct version of
this element for the most broadly granted permission? Is it:
<policy>
<grant code-base="sar:lib${/}*">
<permission class="java.security.AllPermission" />
</grant>
</policy>
If not, what is the correct form? Any help (or pointers to appropriate
documentation) would be appreciated. Thanks.
--Peter
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>