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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD