Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2726

Impersonation Params Declared by Service Definitions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.2
    • Server
    • None

    Description

      org.apache.knox.gateway.identityasserter.common.filter.IdentityAsserterHttpServletRequestWrapper#getImpersonationParamNames() has the following comment:

      // TODO: let's have service definitions register their impersonation
      // params in a future release and get this list from a central registry.
      // This will provide better coverage of protection by removing any
      // pre-populated impersonation params.

      Currently, Knox excludes some well-known impersonation request parameters from proxied requests. Rather than maintaining a hard-coded list of these params, service definitions should be able to declare them such that they would be available at runtime to org.apache.knox.gateway.identityasserter.common.filter.IdentityAsserterHttpServletRequestWrapper.

      This will allow service-specific impersonation parameter details to be defined by the service definitions, and eliminate the need for Knox runtime code changes when new impersonation params need to be handled.

      Attachments

        Issue Links

          Activity

            People

              smore Sandeep More
              pzampino Philip Zampino
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h