[
https://issues.apache.org/jira/browse/SOLR-5960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13960521#comment-13960521
]
Uwe Schindler commented on SOLR-5960:
-------------------------------------
Thanks for the quick patch! I will check if we can add a testcase for that. I
am not sure what needs to be done to set this up (there is already a test for
SimplePostTool).
> Add Support for Basic Authentication to Post.jar
> ------------------------------------------------
>
> Key: SOLR-5960
> URL: https://issues.apache.org/jira/browse/SOLR-5960
> Project: Solr
> Issue Type: Improvement
> Components: scripts and tools
> Affects Versions: 4.7
> Reporter: Sameer Maggon
> Priority: Minor
> Attachments: solr-5960-1.patch, solr-5960.patch
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]