Uploaded image for project: 'LDAP'
  1. LDAP
  2. LDAP-81

More efficient group cache reloading

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Minor
    • None
    • 9.4
    • Authenticator
    • None
    • XWiki 9.8.11 authenticating against an AD containing several thousand users
    • Unknown

    Description

      Currently it looks like whenever the group cache is expired, it gets fully refilled when a user logs in. This might need quite some time. In one case I have seen a user waiting for more than 30 seconds before the server comes back to acknowledge the login.

      It seems the code loads every group and user separately to check for membership attributes. Maybe it is simpler at least to load all affected users in one query.
      However I am not familiar with all use cases, so this is just some idea which might be impractical. In that case please close as "Wontfix".

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              camil7 Clemens Robbenhaar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: