You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ishan Chattopadhyaya (JIRA)" <ji...@apache.org> on 2017/03/13 16:47:41 UTC
[jira] [Commented] (SOLR-9779) Basic auth in not supported in
Streaming Expressions
[ https://issues.apache.org/jira/browse/SOLR-9779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907814#comment-15907814 ]
Ishan Chattopadhyaya commented on SOLR-9779:
--------------------------------------------
Moving to 6.5, since 6.4 has already been released.
> Basic auth in not supported in Streaming Expressions
> ----------------------------------------------------
>
> Key: SOLR-9779
> URL: https://issues.apache.org/jira/browse/SOLR-9779
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: clients - java, security
> Affects Versions: 6.0
> Reporter: Sandeep Mukherjee
> Assignee: Kevin Risden
> Labels: features, security
> Fix For: 6.5
>
>
> I'm creating a StreamFactory object like the following code:
> {code}
> new StreamFactory().withDefaultZkHost(solrConfig.getConnectString())
> .withFunctionName("gatherNodes", GatherNodesStream.class);
> {code}
> However once I create the StreamFactory there is no way provided to set the CloudSolrClient object which can be used to set Basic Auth headers.
> In StreamContext object there is a way to set the SolrClientCache object which keep reference to all the CloudSolrClient where I can set a reference to HttpClient which sets the Basic Auth header. However the problem is, inside the SolrClientCache there is no way to set your own version of CloudSolrClient with BasicAuth enabled.
> I think we should expose method in StreamContext where I can specify basic-auth enabled CloudSolrClient to use.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org