Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-1693

Add non-emptiness clause to realm check of Solr output connector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • ManifoldCF 2.21
    • ManifoldCF 2.22
    • None
    • None

    Description

      See external issue URL:

      The underlying HTTP client of the Solr output connector always configures a dedicated AuthScope of the connection, even if the provided realm is the empty string (""). This is due to the fact that the attribute realm is never null, but "" in case the user did not supply a parameter for this. This breaks connectivity in case basic authentication is in-place, but no realm is required. Thus, in both cases (null value and "" for realm) the HTTP client should use AuthScope.ANY. This commit adds the necessary non-emptiness clause to the realm check in order to fix this behavior.

      Attachments

        1. 112.patch
          2 kB
          Markus Schuch

        Activity

          People

            schuch Markus Schuch
            schuch Markus Schuch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: