Joseph Shraibman wrote:
>
<snip>
> to do Bad Things. The java.policy file can have an entry to allow only
> code in org.postgres to add shutdown hooks (maybe we should put this in
> the documentation).
>
grant codeBase "file:///usr/local/pgsql/share/java/" {
permission java.lang.RuntimePermission "shutdownHooks";
};
I think there is a way to grant permission based on what package a class
is in (i.e. org.postgres) but I couln't find it.
--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio. http://www.targabot.com