Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-10882

ElasticSearchClientService should not allow both BASIC and API_KEY properties to be set simultaneously

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.19.0
    • 1.20.0, 1.19.1
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Chris S Chris Sampson
              Chris S Chris Sampson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h