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

Add support for PKI Authentication in ElasticSearchClientServiceImpl

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.19.0
    • Extensions

    Description

      Also add NONE as an AuthenticationScheme option.

      By Chris S:

      I'd probably stick with BASIC being the default as that would mean Username/Password remain available by default when adding the Processor to the canvas, which matches the current behaviour and therefore is backwards compatible.

      If the user selects NONE then I guess we'd be hiding the existing Username/Password and new API Keyproperty inputs (via dependsOn).

      If the user selected PKI then it would be great if the SSLContext Controller become mandatory, but I don't think that's currently possible, so in effect this would have the same effect as NONE on the available processor properties (we don't want to hide SSL Context if something other than PKI is selected here, as https/TLSmight very well still be needed even if it's not used for Auth in Elasticsearch).

      One option might be to use some customerValidation for this though - if the user has selected PKI, they mustalso specify an SSL Context in their processor configuration. Similarly, if NONE is selected, then we could validate that none of the Username/Password/API Key fields are provided?

      Attachments

        Issue Links

          Activity

            People

              Chris S Chris Sampson
              sabonyi Nandor Soma Abonyi
              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 - 1h 10m
                  1h 10m