Bug 61224

Summary: GlobalRequestProcessor mbeans should be read-only
Product: Tomcat 9 Reporter: Alexis Hassler <alexis.hassler>
Component: ConnectorsAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: -----   
Hardware: PC   
OS: Linux   

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.