Alaksiej Ščarbaty created NIFI-14308:
----------------------------------------

             Summary: Support optional impersonalization in 
JsonConfigBasedBoxClientService
                 Key: NIFI-14308
                 URL: https://issues.apache.org/jira/browse/NIFI-14308
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Extensions
            Reporter: Alaksiej Ščarbaty


The current version of JsonConfigBasedBoxClientService [always sets as-user 
header|https://github.com/apache/nifi/blob/main/nifi-extension-bundles/nifi-box-bundle/nifi-box-services/src/main/java/org/apache/nifi/box/controllerservices/JsonConfigBasedBoxClientService.java#L203],
 which makes the Controller Service unusable without enabled "Make API calls 
using the as-user header".



The proposal is to make the [Account ID 
attribute|https://github.com/apache/nifi/blob/main/nifi-extension-bundles/nifi-box-bundle/nifi-box-services/src/main/java/org/apache/nifi/box/controllerservices/JsonConfigBasedBoxClientService.java#L60]
 optional. If it's empty, the as-user header isn't set either.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to