Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9193

Allow to build Jcr with a PostValidationHook

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.32.0
    • Fix Version/s: None
    • Component/s: jcr
    • Labels:
      None

      Description

      Oak store SPI exports a PostValidationHook that extends CommitHook. According to the Javadoc, post validation hooks are meant to be executed after validation hooks. The Jcr builder should allow specifying a PostValidationHook to be placed after the built in ACL validations.

      The following signature would be added to the Jcr class

      public Jcr with(@NotNull PostValidationHook postValidationHook)
      

      The provided hook would be included after the security provider hooks via the MutableRoot.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              marett Timothee Maret
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: