db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean T. Anderson (JIRA)" <derby-...@db.apache.org>
Subject [jira] Closed: (DERBY-701) Java 2 security policy file examples don't work -- are missing a needed line
Date Tue, 25 Apr 2006 23:14:03 GMT
     [ http://issues.apache.org/jira/browse/DERBY-701?page=all ]
     
Jean T. Anderson closed DERBY-701:
----------------------------------

    Fix Version: 10.1.3.0
                     (was: 10.2.0.0)
     Resolution: Fixed

Fix merged from 10.2, committed revision 397015.


> Java 2 security policy file examples don't work -- are missing a needed line
> ----------------------------------------------------------------------------
>
>          Key: DERBY-701
>          URL: http://issues.apache.org/jira/browse/DERBY-701
>      Project: Derby
>         Type: Bug

>   Components: Documentation
>     Versions: 10.1.1.1
>     Reporter: Jean T. Anderson
>     Priority: Minor
>      Fix For: 10.1.3.0
>  Attachments: derby701-2.diff, derby701.diff, derby701_html_files-2.zip, derby701_html_files.zip
>
> These security policy file examples don't work as is:
>    http://db.apache.org/derby/docs/dev/devguide/rdevcsecure871406.html
>    http://db.apache.org/derby/docs/dev/devguide/rdevcsecure871422.html
>    http://db.apache.org/derby/docs/dev/devguide/rdevcsecure871439.html
> Each example needs this additional line:
>    permission java.io.FilePermission "${derby.system.home}","read";
> The email thread is here:
> http://mail-archives.apache.org/mod_mbox/db-derby-user/200511.mbox/%3c43704594.2090704@debrunners.com%3e
> To show one of the examples, here is the current text for Example 1:
> grant codeBase "file://f:/derby/lib/derby.jar" {
>   permission java.lang.RuntimePermission "createClassLoader";
>   permission java.util.PropertyPermission "derby.*", "read";
>   permission java.io.FilePermission "${derby.system.home}${/}-", "read,write,delete";
> };
> It needs to be this instead:
> grant codeBase "file://f:/derby/lib/derby.jar" {
>    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}${/}-","read,write,delete";
> };

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message