Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5960

Add Support for Basic Authentication to Post.jar

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.7
    • 4.8, 6.0
    • scripts and tools
    • None

    Description

      Post.jar currently doesn't support Basic Authentication if Solr is configured to use Basic Authentication.

      I've attached a patch that enables users to use post.jar if their Solr is configured with Basic Authentication.

      Here's the example usage:

      java -Durl="http://username:password@hostname:8080/solr/update" -jar post.jar sample.xml

      Attachments

        1. solr-5960.patch
          2 kB
          Sameer Maggon
        2. solr-5960-1.patch
          2 kB
          Sameer Maggon

        Activity

          People

            uschindler Uwe Schindler
            maggon Sameer Maggon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: