Bug 61224 - GlobalRequestProcessor mbeans should be read-only
Summary: GlobalRequestProcessor mbeans should be read-only
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 9
Classification: Unclassified
Component: Connectors (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: -----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-26 05:48 UTC by Alexis Hassler
Modified: 2017-06-26 20:40 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Hassler 2017-06-26 05:48:57 UTC
The GlobalRequestProcessor mbeans show runtime information but there attributes can be modified.

The whole attributes of the GlobalRequestProcessor mbeans should be read-only.
Comment 1 Alexis Hassler 2017-06-26 07:17:53 UTC
PR #68
Comment 2 Mark Thomas 2017-06-26 20:40:55 UTC
Thanks for the PR. I modified it slightly to take account of some refactoring I did triggered by reviewing the PR and to ensure that it compiled cleanly with checkstyle enabled.

Since this arguably changes a user API, I'm only applying this to trunk. Users should not be calling the removed setters but you never know.