Joseph Shraibman wrote:

> 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
Increase signal to noise ratio.

---------------------------(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

Reply via email to