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

Dag H. Wanvik commented on DERBY-6160:
--------------------------------------

Kathey, as for  "derby.__serverStartedFromCmdLine" not being granted, the 
server will normally work and still restrict permissions. The reason for this 
is that this property is set *before* to true the default security manager is 
installed.

However, if the user specifies a policy for when starting java, using 
"-Djava.security.policy"
the setting of this property by the network server start would fail due to lack 
of permission. So, in general, the permission is needed.

                
> Fixes needed to documentation topics on security policy permissions
> -------------------------------------------------------------------
>
>                 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

Reply via email to