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

Oak.OakDefaultComponents.INSTANCE is mutable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.0
    • 1.10.0, 1.9.7
    • core
    • None

    Description

      The OakDefaultComponents inside the Oak builder class was introduced with OAK-6826 and provides a set of default components. Those components can be overridden by calling the various Oak.with() methods.

      There is a problematic OakDefaultComponents singleton INSTANCE used by Jcr. The singleton is mutable and may leak modifications from one Jcr instantiation to another one. More specifically, the SecurityProvider has a couple of configurations that extend ConfigurationBase with multiple setters.

      Attachments

        Issue Links

          Activity

            People

              mreutegg Marcel Reutegger
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: