Details
-
Improvement
-
Resolution: Fixed
-
Critical
-
None
-
None
-
-
Empty show more show less
-
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
Attachments
Issue Links
- caused by
-
MAGNOLIA-5455 Replace use of queries with node traversal in user, group and role -managers
-
- Closed
-
- is causing
-
MGNLSTK-1440 AddContactUserRoleTask might no longer find newly created but not yet saved nodes
-
- Closed
-
-
MAGNOLIA-6040 InstallContext check in RepositoryBackedSecurityManager#findPrincipalNode breaks test cases
-
- Closed
-
- is related to
-
MGNLUI-3202 Speed up startup time of ContentApp with lots of underlying data
-
- Closed
-
-
MAGNOLIA-5994 Retrieving all users or all groups is too slow if there's a lot of users in jcr
-
- Closed
-