You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/09/01 15:46:11 UTC
(tomcat) 02/02: Mark read-only fields as read-only
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 <ma...@apache.org>
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org