alopresto commented on a change in pull request #3823: NIFI-6770 - Set 
validator to Validator.VALID to allow empty password …
URL: https://github.com/apache/nifi/pull/3823#discussion_r343326484
 
 

 ##########
 File path: 
nifi-nar-bundles/nifi-standard-services/nifi-ssl-context-bundle/nifi-ssl-context-service/src/main/java/org/apache/nifi/ssl/StandardSSLContextService.java
 ##########
 @@ -70,7 +70,7 @@
             .name("Truststore Password")
             .description("The password for the Truststore")
             .defaultValue(null)
-            .addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
+            .addValidator(Validator.VALID)
             .sensitive(true)
 
 Review comment:
   Added `.required(false)`. 

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

Reply via email to