You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Matthew Gregg (JIRA)" <ji...@apache.org> on 2009/05/27 19:29:46 UTC

[jira] Created: (SOLR-1189) Support basic auth

Support basic auth
------------------

                 Key: SOLR-1189
                 URL: https://issues.apache.org/jira/browse/SOLR-1189
             Project: Solr
          Issue Type: New Feature
          Components: replication (java)
            Reporter: Matthew Gregg
            Priority: Minor


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SOLR-1189) Support basic auth

Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar updated SOLR-1189:
----------------------------------------

    Attachment: SOLR-1189.patch

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.

> Support basic auth
> ------------------
>
>                 Key: SOLR-1189
>                 URL: https://issues.apache.org/jira/browse/SOLR-1189
>             Project: Solr
>          Issue Type: New Feature
>          Components: replication (java)
>            Reporter: Matthew Gregg
>            Priority: Minor
>         Attachments: SOLR-1189.patch
>
>
> It would be extremely useful, if replication supported basic authentication.   Currently a basic auth protected master/slave, cannot replicate.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1189) Support basic auth

Posted by "Matthew Gregg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716749#action_12716749 ] 

Matthew Gregg commented on SOLR-1189:
-------------------------------------

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.

> Support basic auth
> ------------------
>
>                 Key: SOLR-1189
>                 URL: https://issues.apache.org/jira/browse/SOLR-1189
>             Project: Solr
>          Issue Type: New Feature
>          Components: replication (java)
>            Reporter: Matthew Gregg
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1189.patch
>
>
> It would be extremely useful, if replication supported basic authentication.   Currently a basic auth protected master/slave, cannot replicate.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1189) Support basic auth

Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716747#action_12716747 ] 

Shalin Shekhar Mangar commented on SOLR-1189:
---------------------------------------------

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

Done

> Support basic auth
> ------------------
>
>                 Key: SOLR-1189
>                 URL: https://issues.apache.org/jira/browse/SOLR-1189
>             Project: Solr
>          Issue Type: New Feature
>          Components: replication (java)
>            Reporter: Matthew Gregg
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1189.patch
>
>
> It would be extremely useful, if replication supported basic authentication.   Currently a basic auth protected master/slave, cannot replicate.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (SOLR-1189) Support basic auth

Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716747#action_12716747 ] 

Shalin Shekhar Mangar edited comment on SOLR-1189 at 6/5/09 1:28 PM:
---------------------------------------------------------------------

bq. 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?

      was (Author: shalinmangar):
    bq. It would be good to have that in that example solrconfig.xml for people to see. 

Done
  
> Support basic auth
> ------------------
>
>                 Key: SOLR-1189
>                 URL: https://issues.apache.org/jira/browse/SOLR-1189
>             Project: Solr
>          Issue Type: New Feature
>          Components: replication (java)
>            Reporter: Matthew Gregg
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1189.patch
>
>
> It would be extremely useful, if replication supported basic authentication.   Currently a basic auth protected master/slave, cannot replicate.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1189) Support basic auth

Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716621#action_12716621 ] 

Otis Gospodnetic commented on SOLR-1189:
----------------------------------------

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


> Support basic auth
> ------------------
>
>                 Key: SOLR-1189
>                 URL: https://issues.apache.org/jira/browse/SOLR-1189
>             Project: Solr
>          Issue Type: New Feature
>          Components: replication (java)
>            Reporter: Matthew Gregg
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1189.patch
>
>
> It would be extremely useful, if replication supported basic authentication.   Currently a basic auth protected master/slave, cannot replicate.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SOLR-1189) Support basic auth

Posted by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar resolved SOLR-1189.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4
         Assignee: Shalin Shekhar Mangar

Committed revision 781977.

> Support basic auth
> ------------------
>
>                 Key: SOLR-1189
>                 URL: https://issues.apache.org/jira/browse/SOLR-1189
>             Project: Solr
>          Issue Type: New Feature
>          Components: replication (java)
>            Reporter: Matthew Gregg
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1189.patch
>
>
> It would be extremely useful, if replication supported basic authentication.   Currently a basic auth protected master/slave, cannot replicate.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.