Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2991

Support HTTP/S Header Authorization for Solr connections

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 1.19
    • 1.20
    • indexer, plugin
    • None

    Description

      Currently only Basic Authentication is possible with Solr, but I have an issue to connect to a Solr instance that use Token authentication.

      So it should be possible to define the value of Authorization Header to provide the name and token value, that will be send on the HTTP request to Solr.

      Header:

      • Authorization: Name Value

      So in the configuration should be able to set up something like this to populate the header: 

      • solr.auth.header.name=Bearer
      • solr.auth.header.value=JWT_TOKEN

       

      Attachments

        1. solr_token_auth.patch
          10 kB
          Marcos Gomez
        2. solr_token_auth_2.patch
          11 kB
          Marcos Gomez

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marcos Marcos Gomez
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: