This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 82b7163082 Mark read-only fields as read-only
82b7163082 is described below
commit 82b7163082a801cca78a334f25b7f605d3702cf0
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]