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)