Igor Fedoryn created SOLR-12813:
-----------------------------------

             Summary: SolrCloud + Basic Authentication + subquery = 401 
Exception
                 Key: SOLR-12813
                 URL: https://issues.apache.org/jira/browse/SOLR-12813
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: security, SolrCloud
    Affects Versions: 7.5, 6.4.1
            Reporter: Igor Fedoryn
         Attachments: screen1.png, screen2.png

Environment: * Solr 6.4.1
 * Zookeeper 3.4.6
 * Java 1.8

Run Zookeeper
Upload simple configuration wherein the Solr schema has fields for a 
relationship between parent/child

Run two Solr instance (2 nodes)
Create the collection with 1 shard on each Solr nodes
 
Add parent document to one shard and child document to another shard.

The response for: * 
/select?q=ChildIdField:VALUE&fl=*,parents:[subqery]&parents.q=\{!term f=id 
v=$row.ParentIdsField}

correct.
 
After that add Basic Authentication with some user for collection.
Restart Solr or reload Solr collection.
If the simple request /select?q=*:* with authorization on Solr server is a 
success then run previously request
with authorization on Solr server and you get the exception: "Solr HTTP error: 
Unauthorized (401) "
 
Screens in the attachment.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to