Issue Details (XML | Word | Printable)

Key: DERBY-3657
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: John H. Embretsen
Reporter: John H. Embretsen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

Comment in template security policy incorrectly says that JMX is not enabled by default

Created: 02/May/08 12:25 PM   Updated: 30/Jun/09 12:14 AM
Return to search
Component/s: Demos/Scripts, JMX
Affects Version/s: 10.4.1.3
Fix Version/s: 10.4.2.0, 10.5.1.1

Time Tracking:
Not Specified

Environment: N/A

Bug behavior facts: Security
Resolution Date: 05/May/08 10:00 AM


 Description  « Hide
The template policy located at $DERBY_HOME/demo/templates/server.policy (release distributions) and $trunk/java/drda/org/apache/derby/drda/template.policy (source tree) contains a comment relating to JMX permissions which says:

// JMX management of Derby is NOT enabled by default; see also DERBY-1387.

This was no longer true after DERBY-3429 was fixed, which includes the 10.4.1.3 release. JMX monitoring and management is enabled by default given that the JVM includes the required APIs, and that the security policy allows JMX features to come up. The comment should have been removed, but this has not happened. The same applies to the default server policy, server.policy, which also should be corrected (this policy's comments are however not exposed to users in the same way as the template).

Note that no code or actual permissions need to change as a result of this; it is merely an outdated comment that needs to be removed in order not to give users a false impression.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
John H. Embretsen added a comment - 05/May/08 10:00 AM
Committed a fix for this issue with revisions
653387 (trunk) and
653396 (10.4 branch).

Also added a commented-out permission to the template policy file, which can be used to allow the actions of the ping operation of the NetworkServerMBean.