Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5957

Speed up 5-series login and working for installations with many users

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Critical Critical
    • 5.2.10, 5.3.5
    • None
    • security
    • None
    • Yes

      It was reported that login may easily take > 1 minute in case there's lots of users (e.g. 10k) in the system. Most of the time seems to be spent in RepositoryBackedSecurityManager#findPrincipalNode(String, Session, String, Node) where we don't use queries any longer (since MAGNOLIA-5455).

      The main motivation to change the behavior had been that install tasks don't save sessions and hence there'd been situations where e.g. an install task creates a new user but that one could not yet be found by jcr queries as the session had not yet saved.

      On this occasion we should finally add the missing RepositoryBackedSecurityManagerTest.

        Acceptance criteria

              dlipp Daniel Lipp
              dlipp Daniel Lipp
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD