db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6160) Required permission RuntimePermission "accessUserInformation" should be documented in the Developers Guide
Date Thu, 18 Apr 2013 15:43:16 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13635255#comment-13635255
] 

Kathey Marsden commented on DERBY-6160:
---------------------------------------


I have a technical question for Dag.  For this property:
+  permission java.util.PropertyPermission "derby.__serverStartedFromCmdLine", 
+      "read, write";

If it is not granted, will network server still start using default permssions?


One thing I notice is that the  permission below is no longer needed.  With fixes in java
6 we were able to prevent dual boot without it. Should I file a separate issue for that? 

permission java.util.PropertyPermission "derby.storage.jvmInstanceId", "write"
    This property is used by Derby to prevent the accidental boot of the database by two class
loaders. If the database is booted by two class loaders, database corruption can occur. If
write permission for this property is not granted, a message is printed to the log file which
indicates that the Derby database is not protected from dual boot and possible corruption.


                
> Required permission RuntimePermission "accessUserInformation"  should be documented in
the Developers Guide 
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6160
>                 URL: https://issues.apache.org/jira/browse/DERBY-6160
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 10.9.1.0, 10.10.1.1
>            Reporter: Kathey Marsden
>            Assignee: Kim Haase
>         Attachments: DERBY-6160.diff, DERBY-6160.stat, DERBY-6160.zip
>
>
> DERBY-5363 added a new required permission  RuntimePermission "accessUserInformation".
> This should be added to the developer guide information under granting permissions to
Derby.
> https://builds.apache.org/job/Derby-docs/lastSuccessfulBuild/artifact/trunk/out/devguide/cdevbabejgjd.html
> I am not sure of the context under which it is required if it is just needed. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message