Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-2065

DelegateHeaderPrincipalProvider passes on-behalf-of header in FEDORA_ALL_PRINCIPALS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Fedora 4.5.1
    • Fix Version/s: Fedora 4.6.0
    • Component/s: f4-auth
    • Labels:
    • Environment:
      fcrepo 4.5.2
    • Sprint:
      Sprint 2015 - 15

      Description

      Scenario: both normal users (as configured in tomcat) and impersonated users (via admin account and on-behalf-of header) access the repository.

      If admin user calls fedora with on-behalf-of header, all works as expected. If non-admin user calls fedora and adds on-behalf-of header, the contents of header gets propagated to FEDORA_ALL_PRINCIPALS - this is done in HttpHeaderPrincipalProvider.getPrincipals() as DelegateHeaderPrincipalProvider is a subclass of HttpHeader...

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              miroslav.simek Mirek Simek
              Reporter:
              miroslav.simek Mirek Simek
              Reviewer:
              A. Soroka
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: