This is an automated email from the ASF dual-hosted git repository.
mattrpav pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/main by this push:
new 38262342f [AMQ-9385] Minor default jaas realm config clean-ups and
documentation
38262342f is described below
commit 38262342f2a0c287d5a43f9ad00ca3b22aa401c0
Author: Matt Pavlovich <[email protected]>
AuthorDate: Fri Nov 10 11:22:31 2023 -0600
[AMQ-9385] Minor default jaas realm config clean-ups and documentation
---
assembly/src/release/conf/groups.properties | 9 ++++++++-
assembly/src/release/conf/jetty.xml | 2 +-
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/assembly/src/release/conf/groups.properties
b/assembly/src/release/conf/groups.properties
index 6a83df932..c4ffab7ad 100644
--- a/assembly/src/release/conf/groups.properties
+++ b/assembly/src/release/conf/groups.properties
@@ -15,4 +15,11 @@
## limitations under the License.
## ---------------------------------------------------------------------------
-admins=admin
\ No newline at end of file
+# Group membership format
+# groupname = user1,user2,..
+#
+# Example:
+# users=user1,user2
+
+# Default admins group with full access for user 'admin'
+admins=admin
diff --git a/assembly/src/release/conf/jetty.xml
b/assembly/src/release/conf/jetty.xml
index f0ca0b3a1..906e74914 100644
--- a/assembly/src/release/conf/jetty.xml
+++ b/assembly/src/release/conf/jetty.xml
@@ -37,7 +37,7 @@
<bean id="securityConstraint"
class="org.eclipse.jetty.util.security.Constraint">
<property name="name" value="BASIC" />
- <property name="roles" value="user,admins" />
+ <property name="roles" value="users,admins" />
<!-- set authenticate=false to disable login -->
<property name="authenticate" value="true" />
</bean>