Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6187

Validate that @-based postfix parameters are removed from the POST modification set before committing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Servlets Post 2.3.16
    • Servlets
    • None

    Description

      I would like to add support for a new "special" request parameter understood by the Sling Post Servlet named :requiredPostProcessors. This parameter may contain a comma-delimited list of names (see below) which must be available at the time the request is processed in order for the request to be handled. Whether or not those processors do anything or whether the request succeeds or not is a separate question; this is just a preflight check if you will.

      If any of the required SlingPostProcessors are not available, the request will fail with a 501 error.

      The name of a SlingPostProcessor will be defined by a newly defined service registration property postProcessor.name and default to the simple name of the SlingPostProcessor's implementation class if that property is not defined.

      Attachments

        1. SLING-6187-validating.diff
          12 kB
          Justin Edelson
        2. SLING-6187-profile.diff
          28 kB
          Justin Edelson
        3. SLING-6187-profile.diff
          28 kB
          Justin Edelson
        4. SLING-6187c.diff
          7 kB
          Justin Edelson
        5. SLING-6187.patch
          16 kB
          Justin Edelson

        Activity

          People

            justinedelson Justin Edelson
            justinedelson Justin Edelson
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: