Solr
  1. Solr
  2. SOLR-5556

Allow class of CollectionsHandler and InfoHandler to be specified in solr.xml

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.7, 6.0
    • Fix Version/s: 4.7, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently, you can specify the CoreAdminHandler class name in solr.xml, but not the CollectionsHandler nor the InfoHandler.

      I want to run some (access control) checks around the administrative commands. I can do this with the CoreAdminHandler, but not the other two.

      1. SOLR-5556.patch
        11 kB
        Alan Woodward
      2. SOLR-5556.patch
        10 kB
        Gregory Chanan

        Activity

        Hide
        Gregory Chanan added a comment -

        Here's a patch against trunk that implements this.

        Show
        Gregory Chanan added a comment - Here's a patch against trunk that implements this.
        Hide
        Alan Woodward added a comment -

        Here's a slightly amended patch, with an added test.

        Show
        Alan Woodward added a comment - Here's a slightly amended patch, with an added test.
        Hide
        Mark Miller added a comment -

        +1

        Show
        Mark Miller added a comment - +1
        Hide
        ASF subversion and git services added a comment -

        Commit 1552044 from Alan Woodward in branch 'dev/trunk'
        [ https://svn.apache.org/r1552044 ]

        SOLR-5556: Allow CollectionsHandler and InfoHandler classes to be specified in solr.xml

        Show
        ASF subversion and git services added a comment - Commit 1552044 from Alan Woodward in branch 'dev/trunk' [ https://svn.apache.org/r1552044 ] SOLR-5556 : Allow CollectionsHandler and InfoHandler classes to be specified in solr.xml
        Hide
        ASF subversion and git services added a comment -

        Commit 1552045 from Alan Woodward in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1552045 ]

        SOLR-5556: Allow CollectionsHandler and InfoHandler classes to be specified in solr.xml

        Show
        ASF subversion and git services added a comment - Commit 1552045 from Alan Woodward in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1552045 ] SOLR-5556 : Allow CollectionsHandler and InfoHandler classes to be specified in solr.xml
        Hide
        Alan Woodward added a comment -

        Thanks Gregory!

        Show
        Alan Woodward added a comment - Thanks Gregory!
        Hide
        zengjie added a comment -

        nice feature!

        Show
        zengjie added a comment - nice feature!

          People

          • Assignee:
            Alan Woodward
            Reporter:
            Gregory Chanan
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development