mattyb149 commented on a change in pull request #4135: NIFI-7246 - External
load balancer support for JWT using static, configured key
URL: https://github.com/apache/nifi/pull/4135#discussion_r392375431
##########
File path:
nifi-commons/nifi-properties/src/main/java/org/apache/nifi/util/NiFiProperties.java
##########
@@ -1532,4 +1713,21 @@ public void validate() {
}
// Other properties to validate...
}
+
+ //External load balancer, static key
+ public static final String IS_TOKEN_STATIC = "nifi.token.key.static";
+ public static final String TOKEN_KEY_CONFIG = "nifi.token.key.config";
+ /**
+ * This method is used to validate the NiFi properties when the file is
loaded
+ * for the first time. The objective is to stop NiFi startup in case a
property
+ * is not correctly configured and could cause issues afterwards.
+ */
+ public void validate() {
Review comment:
This fails the build as there is already a `public void validate()` method
in this class
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services