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

More efficient group cache reloading

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 9.4
    • Fix Version/s: None
    • Component/s: Authenticator
    • Labels:
      None
    • Environment:
      XWiki 9.8.11 authenticating against an AD containing several thousand users
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: