Support Authentication for Apache Solr
The existing ApacheSolr DataSources do not support authentication into Solr. It would be great to provide that option.
Kris_Reese
Posted 4 years ago·Last reply 4 years ago
4 comments
The existing ApacheSolr DataSources do not support authentication into Solr. It would be great to provide that option.
jamaika54
·4 years agoAuthentication into Solr is not supported by existing ApacheSolr DataSources. I would appreciate it if that option were available.
Michael Baker
·4 years agoAh theres 2 kinds of DS's! One uses JMX the other uses API that will be why
Kris_Reese
OP4 years agoPerhaps I'm missing something, but I'm having to make adjustments to the Groovy scripts and test the outcomes of those changes. For example:
I'm testing with the Apache_Solr_JVM_API data source. Here's the snippet of that script:
Firstly, we don't allow connections over port 80. As written, there's no way for me to provide an override.
Secondly, because of point one, I don't need to specify the port. I could attempt to pass in a blank value, but the json variable would contain a colon which would break.
Thirdly, this particular script does not appear to use the jmx.user and jmx.pass properties.
Making adjustments to the above script by changing http to https, and removing the colon and port variable result in an HTTP 401 response.
I can add variables to support authentication, but that would be a lot of hand edits :)/emoticons/smile@2x.png 2x" title=":)" width="20" />
If I'm missing something, please let me know! Thank you for your feedback.
Michael Baker
·4 years agoThey do... jmx.user and jmx.pass