You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Chris Sampson (Jira)" <ji...@apache.org> on 2022/11/28 10:24:00 UTC

[jira] [Created] (NIFI-10882) ElasticSearchClientService should not allow both BASIC and API_KEY properties to be set simultaneously

Chris Sampson created NIFI-10882:
------------------------------------

             Summary: ElasticSearchClientService should not allow both BASIC and API_KEY properties to be set simultaneously
                 Key: NIFI-10882
                 URL: https://issues.apache.org/jira/browse/NIFI-10882
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.19.0
            Reporter: Chris Sampson


While the {{ElasticSearchClientService}} will show/hide Controller Service properties based on the currently selected {{AuthorizationScheme}}, it is possible for a user to set {{BASIC}} credentials (e.g. {{Username}}/{{Password}}) then later switch to {{API_KEY}} auth without removing the {{BASIC}} properties - this leads to multiple {{Authorization}} headers being configured in requests to Elasticsearch, which is unexpected.



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