ARTEMIS-3673 Set default hawtio role

This commit is contained in:
Domenico Francesco Bruscino 2022-02-07 14:56:34 +01:00 committed by Justin Bertram
parent 1f24bef0a3
commit a882b5514b
No known key found for this signature in database
GPG Key ID: F41830B875BB8633
2 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,8 @@ if [ -z "$ARTEMIS_INSTANCE" ] ; then
ARTEMIS_INSTANCE=`cd "$ARTEMIS_INSTANCE/.." && pwd`
fi
HAWTIO_ROLE="NO_HAWTIO_ROLE"
# Load Profile Data
ARTEMIS_INSTANCE_ETC='${artemis.instance.etc}'
. "$ARTEMIS_INSTANCE_ETC/artemis.profile"

View File

@ -31,6 +31,8 @@ ARTEMIS_INSTANCE_ETC_URI='${artemis.instance.etc.uri}'
#ARTEMIS_CLUSTER_PROPS="-Dactivemq.remoting.default.port=61617 -Dactivemq.remoting.amqp.port=5673 -Dactivemq.remoting.stomp.port=61614 -Dactivemq.remoting.hornetq.port=5446"
# Hawtio Properties
# HAWTIO_ROLE define the user role or roles required to be able to login to the console. Multiple roles to allow can
# be separated by a comma. Set to '*' or an empty value to disable role checking when Hawtio authenticates a user.
HAWTIO_ROLE='${role}'
# Java Opts