GSoC 2010: Make some JMX attributes read-only
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 6 May 2010 11:57:14 +0000 (11:57 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 6 May 2010 11:57:14 +0000 (11:57 +0000)
Based on a patch provided by Chamith Buddhika

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@941684 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/mbeans-descriptors.xml

index 2e8860d..27ecc13 100644 (file)
@@ -81,7 +81,8 @@
 
     <attribute   name="rolename"
           description="Role name of this role"
-                 type="java.lang.String"/>
+                 type="java.lang.String"
+            writeable="false"/>
 
   </mbean>
 
@@ -98,7 +99,8 @@
 
     <attribute   name="groups"
           description="MBean Names of groups this user is a member of"
-                 type="[Ljava.lang.String;"/>
+                 type="[Ljava.lang.String;"
+            writeable="false"/>
 
     <attribute   name="password"
           description="Password of this user"