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

Add Support for Basic Authentication to Post.jar

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.8, 6.0
    • Component/s: scripts and tools
    • Labels:
      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-1.patch
          2 kB
          Sameer Maggon
        2. solr-5960.patch
          2 kB
          Sameer Maggon

          Activity

            People

            • Assignee:
              thetaphi Uwe Schindler
              Reporter:
              maggon Sameer Maggon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: