Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: replication (java)
    • Labels:
      None

      Description

      It would be extremely useful, if replication supported basic authentication. Currently a basic auth protected master/slave, cannot replicate.

      1. SOLR-1189.patch
        1 kB
        Shalin Shekhar Mangar

        Issue Links

          Activity

          Hide
          Shalin Shekhar Mangar added a comment -

          Adds two more options to slave configuration in solrconfig.xml:

          1. httpBasicAuthUser
          2. httpBasicAuthPassword

          If both are present then basic auth support is turned on in commons-httpclient and their value is set.

          Matthew, can you please try out this patch and let me know if this solves your problem? I don't have a setup with basic auth.

          Show
          Shalin Shekhar Mangar added a comment - Adds two more options to slave configuration in solrconfig.xml: httpBasicAuthUser httpBasicAuthPassword If both are present then basic auth support is turned on in commons-httpclient and their value is set. Matthew, can you please try out this patch and let me know if this solves your problem? I don't have a setup with basic auth.
          Hide
          Shalin Shekhar Mangar added a comment -

          Committed revision 781977.

          Show
          Shalin Shekhar Mangar added a comment - Committed revision 781977.
          Hide
          Otis Gospodnetic added a comment -

          It would be good to have that in that example solrconfig.xml for people to see.

          Show
          Otis Gospodnetic added a comment - It would be good to have that in that example solrconfig.xml for people to see.
          Hide
          Shalin Shekhar Mangar added a comment - - edited

          It would be good to have that in that example solrconfig.xml for people to see.

          Done

          [Edit] - Oops, misread that statement. I added those to the wiki example. I believe http basic auth may be a rare use-case?

          Show
          Shalin Shekhar Mangar added a comment - - edited It would be good to have that in that example solrconfig.xml for people to see. Done [Edit] - Oops, misread that statement. I added those to the wiki example. I believe http basic auth may be a rare use-case?
          Hide
          Matthew Gregg added a comment -

          I wouldn't think it would be that rare. A prudent sysadmin would want some measure of protection for Solr even on a private network, not to mention running Solr in the Cloud.

          Show
          Matthew Gregg added a comment - I wouldn't think it would be that rare. A prudent sysadmin would want some measure of protection for Solr even on a private network, not to mention running Solr in the Cloud.
          Hide
          Grant Ingersoll added a comment -

          Bulk close for Solr 1.4

          Show
          Grant Ingersoll added a comment - Bulk close for Solr 1.4

            People

            • Assignee:
              Shalin Shekhar Mangar
              Reporter:
              Matthew Gregg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development