SM-2305: Access to ActiveMQ web console fails
Project: http://git-wip-us.apache.org/repos/asf/servicemix/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix/commit/cd3deb9b Tree: http://git-wip-us.apache.org/repos/asf/servicemix/tree/cd3deb9b Diff: http://git-wip-us.apache.org/repos/asf/servicemix/diff/cd3deb9b Branch: refs/heads/master Commit: cd3deb9b937b038ee251fe8ac669eb7e883b31d4 Parents: 61b3dcd Author: Krzysztof Sobkowiak <[email protected]> Authored: Fri May 23 23:13:38 2014 +0200 Committer: Krzysztof Sobkowiak <[email protected]> Committed: Fri May 23 23:13:38 2014 +0200 ---------------------------------------------------------------------- assembly/src/main/resources/etc/users.properties | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix/blob/cd3deb9b/assembly/src/main/resources/etc/users.properties ---------------------------------------------------------------------- diff --git a/assembly/src/main/resources/etc/users.properties b/assembly/src/main/resources/etc/users.properties index 5087da1..e066450 100644 --- a/assembly/src/main/resources/etc/users.properties +++ b/assembly/src/main/resources/etc/users.properties @@ -18,8 +18,20 @@ ################################################################################ # -smx=smx,admin +# This file contains the users, groups, and roles. +# Each line has to be of the format: +# +# USER=PASSWORD,ROLE1,ROLE2,... +# USER=PASSWORD,_g_:GROUP,... +# _g_\:GROUP=ROLE1,ROLE2,... +# +# All users, grousp, and roles entered in this file are available after Karaf startup +# and modifiable via the JAAS command group. These users reside in a JAAS domain +# with the name "karaf". +# +smx = smx,_g_:admingroup +_g_\:admingroup = group,admin,manager,viewer # Workaround for SM-2267: sometimes, the webconsole configuration first hands out a ConnectionFactory # that uses karaf/karaf as the credentials before picking up the settings in system.properties -karaf=karaf,admin +karaf = karaf,_g_:admingroup
