Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11228

Exclude partials html web directory from auth and authz checks

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6.1, 7.0, master (8.0)
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      the web/partials/ directory is validated with the auth and authz framework because requests to this are still routed via the SolrDispatchFilter

      With kerberos this doesn't allow the new admin UI to load correctly. We need to add it to the exclude list in the web.xml

      1. SOLR-11228.patch
        0.6 kB
        Varun Thacker

        Activity

        Hide
        varunthacker Varun Thacker added a comment -

        Simple patch.

        Ishan Chattopadhyaya does this look okay to you?

        Show
        varunthacker Varun Thacker added a comment - Simple patch. Ishan Chattopadhyaya does this look okay to you?
        Hide
        ichattopadhyaya Ishan Chattopadhyaya added a comment -

        +1, LGTM. I discussed this with Erick Erickson offline; it looks like we missed this in the beginning. The partials directory contains only static files, and should be fine to exclude from authc/authz.

        Show
        ichattopadhyaya Ishan Chattopadhyaya added a comment - +1, LGTM. I discussed this with Erick Erickson offline; it looks like we missed this in the beginning. The partials directory contains only static files, and should be fine to exclude from authc/authz.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit bbc368d0efbbf2eb6aa1c3dcc6137e786cdbe5f9 in lucene-solr's branch refs/heads/master from Varun Thacker
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=bbc368d ]

        SOLR-11228: Exclude static html files in the partials directory from authentication and authorization checks

        Show
        jira-bot ASF subversion and git services added a comment - Commit bbc368d0efbbf2eb6aa1c3dcc6137e786cdbe5f9 in lucene-solr's branch refs/heads/master from Varun Thacker [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=bbc368d ] SOLR-11228 : Exclude static html files in the partials directory from authentication and authorization checks
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 6ea64da766e60766ba1b2787f4ae00e410285227 in lucene-solr's branch refs/heads/branch_7x from Varun Thacker
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=6ea64da ]

        SOLR-11228: Exclude static html files in the partials directory from authentication and authorization checks

        Show
        jira-bot ASF subversion and git services added a comment - Commit 6ea64da766e60766ba1b2787f4ae00e410285227 in lucene-solr's branch refs/heads/branch_7x from Varun Thacker [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=6ea64da ] SOLR-11228 : Exclude static html files in the partials directory from authentication and authorization checks
        Hide
        varunthacker Varun Thacker added a comment -

        Thanks Ishan!

        Show
        varunthacker Varun Thacker added a comment - Thanks Ishan!
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 0150a122bf0032e54772ba68bc973c0072433be4 in lucene-solr's branch refs/heads/branch_6_6 from Varun Thacker
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=0150a12 ]

        SOLR-11228: Exclude static html files in the partials directory from authentication and authorization checks

        Show
        jira-bot ASF subversion and git services added a comment - Commit 0150a122bf0032e54772ba68bc973c0072433be4 in lucene-solr's branch refs/heads/branch_6_6 from Varun Thacker [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=0150a12 ] SOLR-11228 : Exclude static html files in the partials directory from authentication and authorization checks
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit b8854ae7b656b311825bc86ad67973eb79aa464a in lucene-solr's branch refs/heads/branch_7_0 from Varun Thacker
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b8854ae ]

        SOLR-11228: Exclude static html files in the partials directory from authentication and authorization checks

        Show
        jira-bot ASF subversion and git services added a comment - Commit b8854ae7b656b311825bc86ad67973eb79aa464a in lucene-solr's branch refs/heads/branch_7_0 from Varun Thacker [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b8854ae ] SOLR-11228 : Exclude static html files in the partials directory from authentication and authorization checks
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 8ff5f2359d719d9d3185519eb64a8bcb53441db6 in lucene-solr's branch refs/heads/master from Varun Thacker
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8ff5f23 ]

        SOLR-11228: Move CHANGES entry under 7.0

        Show
        jira-bot ASF subversion and git services added a comment - Commit 8ff5f2359d719d9d3185519eb64a8bcb53441db6 in lucene-solr's branch refs/heads/master from Varun Thacker [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8ff5f23 ] SOLR-11228 : Move CHANGES entry under 7.0
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 79fca91efd27bee215b027eb8dfd39600f359ca4 in lucene-solr's branch refs/heads/branch_7x from Varun Thacker
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=79fca91 ]

        SOLR-11228: Move CHANGES entry under 7.0

        Show
        jira-bot ASF subversion and git services added a comment - Commit 79fca91efd27bee215b027eb8dfd39600f359ca4 in lucene-solr's branch refs/heads/branch_7x from Varun Thacker [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=79fca91 ] SOLR-11228 : Move CHANGES entry under 7.0
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit a6fd6ef4faf4d92273ebdfb8b9ff1b1a3d752028 in lucene-solr's branch refs/heads/master from Varun Thacker
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a6fd6ef ]

        SOLR-11228: Move CHANGES entry under 6.6.1 ( Correct Place )

        Show
        jira-bot ASF subversion and git services added a comment - Commit a6fd6ef4faf4d92273ebdfb8b9ff1b1a3d752028 in lucene-solr's branch refs/heads/master from Varun Thacker [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a6fd6ef ] SOLR-11228 : Move CHANGES entry under 6.6.1 ( Correct Place )
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 6fc87b3bb0c69c8c37654833586782b831b57be2 in lucene-solr's branch refs/heads/branch_7x from Varun Thacker
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=6fc87b3 ]

        SOLR-11228: Move CHANGES entry under 6.6.1 ( Correct Place )

        Show
        jira-bot ASF subversion and git services added a comment - Commit 6fc87b3bb0c69c8c37654833586782b831b57be2 in lucene-solr's branch refs/heads/branch_7x from Varun Thacker [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=6fc87b3 ] SOLR-11228 : Move CHANGES entry under 6.6.1 ( Correct Place )

          People

          • Assignee:
            varunthacker Varun Thacker
            Reporter:
            varunthacker Varun Thacker
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development