agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] How to configure security manager?
Date: Fri, 28 Oct 2005 21:56:05 -0400
Message-ID: <200510282156.06146.dgovoni@metadapt.com> (raw)

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




view thread (6+ messages)  latest in thread

Message-ID: <200510282156.06146.dgovoni@metadapt.com>
Permalink:  ../200510282156.06146.dgovoni@metadapt.com/
Also on:    postgresql.org/message-id/200510282156.06146.dgovoni@metadapt.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] How to configure security manager?
  In-Reply-To: <200510282156.06146.dgovoni@metadapt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox