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

ExternalLoginModuleFactory should inject SyncManager and ExternalIdentityProviderManager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.21, 1.2.6, 1.3.5, 1.4
    • auth-external
    • None

    Description

      ExternalLoginModule currently performs a lookup of SyncManager and ExternalIdentityProviderManager in initialize call which performs service lookup using ServiceTracker. Doing a service lookup in critical path would have adverse performance impact.

      Instead of performing the lookup ExternalLoginModuleFactory should track the two manager instances and pass them to ExternalLoginModule. This would ensure that expensive operation like service lookup is not performed in critical path

      Attachments

        1. OAK-3146.patch
          4 kB
          Chetan Mehrotra

        Activity

          People

            chetanm Chetan Mehrotra
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: