db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean T. Anderson" <...@bristowhill.com>
Subject Re: networkserver security manager issue
Date Thu, 10 Nov 2005 21:52:35 GMT
Daniel John Debrunner wrote:
> ... 
> So, I guess the examples do need to be updated.

I logged DERBY-701 .

For anybody searching the archives, the three security policy file 
examples in the Developer's Guide are each missing one line, so they 
don't work.

Example 1:

Example 2:

Example 3:

Here's a replacement, which worked for me, for example 1:

grant codeBase "file:c:/db-derby-" {
    permission java.lang.RuntimePermission "createClassLoader";
    permission java.util.PropertyPermission "derby.*", "read";
    permission java.io.FilePermission "${derby.system.home}","read";
    permission java.io.FilePermission "${derby.system.home}${/}-", 


View raw message