Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-20527

Authenticator.getUser is invoked too many times per request

    XMLWordPrintable

Details

    Description

      Ideally, we would invoke Authenticator.getUser precisely once per request, and cache and reuse that result after that. Right now, we are invoking it over a dozen times per request. Several of these calls are made even when the thread local cached copy of the user information is available and in scope. Most of the rest could be modified to use this cached copy as well.

      Reducing the number of times we invoke this Authenticator will speed up our performance on LDAP, and resolve any account lockout issues we may be triggering on systems that restrict (and automatically enforce) the number of failed login attempts.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              richatkins Richard Atkins
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 16h
                  16h
                  Remaining:
                  Remaining Estimate - 16h
                  16h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified