Document optional modifyThreadGroup permssion in java 2 security permissions
----------------------------------------------------------------------------

                 Key: DERBY-5590
                 URL: https://issues.apache.org/jira/browse/DERBY-5590
             Project: Derby
          Issue Type: Bug
          Components: Documentation
            Reporter: Kathey Marsden


With DERBY3618 and  DERBY-4856 if modifyThreadGroup privileges are available, 
DERBY will produce a thread dump in the derby.log upon asserts or session level 
SQLExceptions
The two permissions that will be needed to dump the thread stack traces are:

permission java.lang.RuntimePermission "getStackTrace";
permission java.lang.RuntimePermission "modifyThreadGroup";

These should be mentioned in the optional permissions at:
http://db.apache.org/derby/docs/10.8/devguide/cdevbabejgjd.html

These optional permissions will allow extended diagnostics, specifically  the 
stack traces of all threads to be dumped to derby.log on severe errors and when 
derby.stream.error.extendedDiagSeverityLevel  is set.

It would be good to mention them here too:

http://db.apache.org/derby/docs/10.8/ref/rrefproperextdiagsevlevel.html



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to