This is an automated email from the ASF dual-hosted git repository.

aboda pushed a commit to branch NIFIREG-371-RC1
in repository https://gitbox.apache.org/repos/asf/nifi-registry.git

commit 17dcc776c8807e48f2d9953016c352176acc3482
Author: Bryan Bende <[email protected]>
AuthorDate: Mon Sep 30 15:13:19 2019 -0400

    NIFIREG-323 Clear secret key when auto restarting in order to obtain new 
secret key from the NiFi Registry process
---
 .../main/java/org/apache/nifi/registry/bootstrap/RunNiFiRegistry.java    | 1 +
 1 file changed, 1 insertion(+)

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 @@ public class RunNiFiRegistry {
                     }
 
                     defaultLogger.warn("Apache NiFi Registry appears to have 
died. Restarting...");
+                    secretKey = null;
                     process = builder.start();
                     handleLogging(process);
 

Reply via email to