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:31:00 UTC
[jira] [Updated] (NIFI-10882) ElasticSearchClientService should not allow both BASIC and API_KEY properties to be set simultaneously
[ https://issues.apache.org/jira/browse/NIFI-10882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Sampson updated NIFI-10882:
---------------------------------
Status: Patch Available (was: In Progress)
> 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
> Assignee: Chris Sampson
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)