commit | a20694a243fb6eae2573ee5af84bd069b77e1876 | [log] [tgz] |
---|---|---|
author | Bryan Bende <bbende@apache.org> | Mon Sep 30 15:13:19 2019 -0400 |
committer | Bryan Bende <bbende@apache.org> | Mon Sep 30 15:13:19 2019 -0400 |
tree | 919f31da87af5ea3a7673bcb24120c1e91770b63 | |
parent | 8f6c51c554fdaad0a60c4d3295978294600c45c0 [diff] |
NIFIREG-323 Clear secret key when auto restarting in order to obtain new secret key from the NiFi Registry process
diff --git a/nifi-registry-core/nifi-registry-bootstrap/src/main/java/org/apache/nifi/registry/bootstrap/RunNiFiRegistry.java b/nifi-registry-core/nifi-registry-bootstrap/src/main/java/org/apache/nifi/registry/bootstrap/RunNiFiRegistry.java index e7a46b7..af11fa4 100644 --- a/nifi-registry-core/nifi-registry-bootstrap/src/main/java/org/apache/nifi/registry/bootstrap/RunNiFiRegistry.java +++ b/nifi-registry-core/nifi-registry-bootstrap/src/main/java/org/apache/nifi/registry/bootstrap/RunNiFiRegistry.java
@@ -1055,6 +1055,7 @@ } defaultLogger.warn("Apache NiFi Registry appears to have died. Restarting..."); + secretKey = null; process = builder.start(); handleLogging(process);