You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2020/03/13 18:07:33 UTC

[GitHub] [nifi] Shreyaskc commented on a change in pull request #4135: NIFI-7246 - External load balancer support for JWT using static, configured key

Shreyaskc 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_r392390418
 
 

 ##########
 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:
   Fixed the issue.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services