# HG changeset patch # User Severin Gehwolf # Date 1504804198 -7200 # Node ID 3df209d1fa6a32de111d6925d185bd5018a95a45 # Parent 1428b14f642ff92654cf8f2c416c2dc3dad8222f Improve global-config.properties template. Reviewed-by: jkang Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-September/024888.html diff -r 1428b14f642f -r 3df209d1fa6a distribution/src/etc/global-config.properties --- a/distribution/src/etc/global-config.properties Tue Sep 05 16:29:38 2017 +0200 +++ b/distribution/src/etc/global-config.properties Thu Sep 07 19:09:58 2017 +0200 @@ -1,14 +1,13 @@ +# # The listen address of the servlet container. IP=127.0.0.1 +# # The listen port of the servlet container. PORT=30000 +# # The file specifying which services to deploy in the # servlet container. properties|SERVICES=services.properties -# Sets auth scheme to BASIC -SECURITY_BASIC=true -# Specifies location of BASIC AUTH credentials -properties|SECURITY_BASIC_USERS=basic-config.properties # # Specifies whether or not the swagger UI handler should get # created under context path /doc @@ -37,7 +36,29 @@ # KEYSTORE_FILE=thermostat.jks +# +# Set default DB config for all microservices. MONGO_URL=mongodb://127.0.0.1:27518 MONGO_DB=thermostat MONGO_USERNAME=mongodevuser MONGO_PASSWORD=mongodevpassword + +######################################## +# Security providers +######################################## + +# +# Sets auth scheme to BASIC +SECURITY_BASIC=true +# +# Specifies location of BASIC AUTH credentials +properties|SECURITY_BASIC_USERS=basic-config.properties +# +# Sets auth scheme to use Keycloak. If set to true +# SECURITY_BASIC won't be used. It also needs +# KEYCLOAK_CONFIG to be set (see below). +SECURITY_KEYCLOAK=false +# +# Configuration file for the Keycloak jetty adapter. +# Only used if SECURITY_KEYCLOAK=true +#file|KEYCLOAK_CONFIG=keycloak.json