Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-13727

Cache LDAP Credentials in Bitbucket Data center/Server for longer time

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • User Management - LDAP
    • None
    • 5
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Currently, LDAP credentials are cached on the Bitbucket Data Center/Server side for a maximum of 5 minutes, and this value cannot be increased using the bitbucket.properties file. While this caching duration is suitable for most setups, instances with a high rate of authentication requests would benefit from caching passwords for a longer period, such as 15 minutes. This would reduce the number of round trips made to the LDAP server, decreasing the hits on the LDAP and improving the overall Bitbucket authentication requests.

      Therefore, we suggest allowing an increase in the value of auth.cache.ttl to 15 minutes from the current maximum of 5 minutes.

      Attachments

        Activity

          People

            Unassigned Unassigned
            5338c0aa34f9 Danny Samuel
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: