[Pljava-dev] How to configure security manager?

From: dgovoni at metadapt(dot)com (dgovoni at metadapt(dot)com)
To:
Subject: [Pljava-dev] How to configure security manager?
Date: 2005-10-29 01:56:05
Message-ID: 200510282156.06146.dgovoni@metadapt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Hi,
The user guide didn't seem to have the depth for this, but how can I change
the _java_ security policy to relieve the restriction below? I want to have a
function/trigger with certain (full) system permissions (files,sockets,
system, etc.)

Thank you!
Darren

rath.msnm.NotificationProcessor:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at rath.msnm.AbstractProcessor.run(AbstractProcessor.java:373)
Caused by: java.lang.ExceptionInInitializerError
at
rath.msnm.NotificationProcessor.processAuth(NotificationProcessor.java:360)
... 5 more
Caused by: java.lang.SecurityException
at
org.postgresql.pljava.internal.Backend$PLJavaSecurityManager.assertPermission(Backend.java:153)
at
org.postgresql.pljava.internal.Backend$PLJavaSecurityManager.nonRecursiveCheck(Backend.java:128)
at
org.postgresql.pljava.internal.Backend$PLJavaSecurityManager.checkPermission(Backend.java:106)
at java.lang.System.setProperty(System.java:654)
at rath.msnm.util.TWN.<clinit>(TWN.java:61)
... 6 more

Responses

Browse pljava-dev by date

  From Date Subject
Next Message rcolmegna at tiscali.it 2005-10-29 06:45:48 R: Re: [Pljava-dev] crash due to huge load?
Previous Message Thomas Hallgren 2005-10-28 21:11:51 [Pljava-dev] Unexpected exception in native code outside VM.