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
[EMAIL PROTECTED]
Increase signal to noise ratio. http://www.targabot.com
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly