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

Base SyncMBeanImpl on Oak API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.4, 1.6.0
    • auth-external
    • None

    Description

      While looking at the oak-auth-external code base I found that SyncMBeanImpl is based on JCR API while sync called during authentication will solely rely on API defined by oak-core.

      This not only limits the implementations to operations that can executed on the JCR API but also introduces the risk of inconsistencies.

      As a matter of fact ExternalLoginModuleTestBase.createMBean also lists this as limitation and TODO:

      // todo: how to retrieve JCR repository here? maybe we should base the sync mbean on oak directly.

      Attachments

        1. OAK-4218_initialdraft.patch
          30 kB
          Angela Schreiber

        Issue Links

          Activity

            People

              angela Angela Schreiber
              angela Angela Schreiber
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: