This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 99765c14623b520551743962e5d8d6ffcbe9561e
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Sep 1 16:45:16 2026 +0100

    Mark read-only fields as read-only
---
 java/org/apache/catalina/mbeans-descriptors.xml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/java/org/apache/catalina/mbeans-descriptors.xml 
b/java/org/apache/catalina/mbeans-descriptors.xml
index c2584d8ee7..a54e11bf0f 100644
--- a/java/org/apache/catalina/mbeans-descriptors.xml
+++ b/java/org/apache/catalina/mbeans-descriptors.xml
@@ -33,7 +33,8 @@
 
     <attribute   name="groupname"
           description="Group name of this group"
-                 type="java.lang.String"/>
+                 type="java.lang.String"
+            writeable="false"/>
 
     <attribute   name="roles"
           description="MBean Names of roles for this group"
@@ -116,7 +117,8 @@
 
     <attribute   name="username"
           description="User name of this user"
-                 type="java.lang.String"/>
+                 type="java.lang.String"
+            writeable="false"/>
 
     <operation   name="addGroup"
           description="Add a new group membership for this user"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to