[Rev 01] RFR: 6572: Make mbean functions protected by permission checks

Marcus Hirt hirt at openjdk.java.net
Wed Jan 22 19:00:17 UTC 2020


On Wed, 22 Jan 2020 19:00:17 GMT, Jessye Coleman-Shapiro <github.com+29706926+jessyec-s at openjdk.org> wrote:

>> This patch adds a permission check to Agent MBean functions for the 'control' management permission. 
>> 
>> I have also added a test "testPermissionChecks" to see if a security exception is fired when this permission is not given.
> 
> The pull request has been updated with 1 additional commit.

Marked as reviewed by hirt (Lead).

-------------

PR: https://git.openjdk.java.net/jmc/pull/39


More information about the jmc-dev mailing list