Github user alopresto commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/3020#discussion_r219714049
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PostHTTP.java
 ---
    @@ -474,8 +484,8 @@ public void process(final HttpResponse response, final 
HttpContext httpContext)
             clientBuilder.setRetryHandler(retryHandler);
             clientBuilder.disableContentCompression();
     
    -        final String username = context.getProperty(USERNAME).getValue();
    -        final String password = context.getProperty(PASSWORD).getValue();
    +        final String username = 
context.getProperty(USERNAME).evaluateAttributeExpressions().getValue();
    +        final String password = 
context.getProperty(PASSWORD).evaluateAttributeExpressions().getValue();
    --- End diff --
    
    See comment about `password` above. 


---

Reply via email to