Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13644

Provide configurable URL filtering

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Web Common

      Description

      It may be useful to easily filter some urls.
      The use case is mainly about urls pointing to REST APIs.

      Some endpoints should be filtrable :

      • on / off : global availability
      • filter on REFERER : only requests comming from Nxeo should be allowed
      • filter on Authentication : only requests using token based authentication should be allowed

      Global filter

      We should add a global http filter that can be applied to any url pattern

      Automation Server

      Automation Server does already handle a way to filter API on a per Operation basis :
      code
      <extension target="org.nuxeo.ecm.automation.server.AutomationServer" point="bindings">
      ...
      <binding name="Blob.Create">
      <administrator>true</administrator>
      </binding>
      ...
      code

      We should extend the Binding system to be able to filter :

      • on Authentication Plugin
      • on REFERER
      • ???

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tdelprat Thierry Delprat
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: