aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-main
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-09-21 17:21:08 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-09-26 23:49:38 +0200
commit67e00f09cdb0c957acd0159fa8d7cba96226a353 (patch)
treebbebda53395157e3052af0854034d2f395990de0 /server/sonar-main
parentb3968feb20e92cdc5c3252bf922293877e8b65df (diff)
downloadsonarqube-67e00f09cdb0c957acd0159fa8d7cba96226a353.tar.gz
sonarqube-67e00f09cdb0c957acd0159fa8d7cba96226a353.zip
SONAR-8153 Do not export sensitive settings in System Info
Diffstat (limited to 'server/sonar-main')
-rw-r--r--server/sonar-main/src/main/java/org/sonar/application/config/ClusterSettings.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-main/src/main/java/org/sonar/application/config/ClusterSettings.java b/server/sonar-main/src/main/java/org/sonar/application/config/ClusterSettings.java
index e3cf57f2526..d0cb1b54ad3 100644
--- a/server/sonar-main/src/main/java/org/sonar/application/config/ClusterSettings.java
+++ b/server/sonar-main/src/main/java/org/sonar/application/config/ClusterSettings.java
@@ -38,6 +38,7 @@ import static java.util.Arrays.stream;
import static java.util.Collections.singletonList;
import static java.util.stream.Collectors.joining;
import static org.apache.commons.lang.StringUtils.isBlank;
+import static org.sonar.process.ProcessProperties.AUTH_JWT_SECRET;
import static org.sonar.process.ProcessProperties.CLUSTER_ENABLED;
import static org.sonar.process.ProcessProperties.CLUSTER_HOSTS;
import static org.sonar.process.ProcessProperties.CLUSTER_NODE_HOST;
@@ -72,7 +73,7 @@ public class ClusterSettings implements Consumer<Props> {
switch (nodeType) {
case APPLICATION:
ensureNotH2(props);
- requireValue(props, "sonar.auth.jwtBase64Hs256Secret");
+ requireValue(props, AUTH_JWT_SECRET);
break;
case SEARCH:
requireValue(props, SEARCH_HOST);