Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7889 Secure ZooKeeper should be easy and the default
  3. SOLR-7892

Allow configuring ZK credentials and ACL outside of solr.xml

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 6.0
    • security
    • None

    Description

      See https://cwiki.apache.org/confluence/display/solr/ZooKeeper+Access+Control

      To get zkCredientialsProvider you need to parse solr.xml, but since solr.xml now can live in ZK, we need to have a way to keep various ZK setup and credentials elsewhere. By default in SolrDispatchFilter we'll use a SolrZkClient which reads zk creds/acl from VM params only, which should be fine.

      After solr.xml is read from zookeeper, the properties from solr.xml are used instead. These will be the same as the initial VM param though, so since we need a way to discover these classes from VM params anyway, we can skip the solr.xml config for these and simplify.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              janhoy Jan Høydahl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: