Bitbucket does not invalidate Crowd SSO cache on application directory order update

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 4.0.0, 10.5.2
    • Component/s: Crowd
    • None
    • Severity 3 - Minor

      Issue Summary

      Crowd caches the directory used for Crowd SSO 1.0. Events that may alter the directory used for SSO 1.0 invalidate the cache across the cluster, ensuring that every node has a consistent idea of which Crowd instance to talk to for SSO 1.0. However the event for directory order changes (`com.atlassian.crowd.event.application.ApplicationDirectoryOrderUpdatedEvent`) is does not cause invalidation of the cache. As a result, if a directory order change would've caused a different directory to be used for SSO 1.0, Bitbucket will not use that directory for SSO 1.0 until the cache is invalidated through different means.

      Steps to Reproduce

      1. Setup Crowd SSO 1.0 in Bitbucket
      2. Create another Crowd directory eligible for SSO 1.0
      3. Move the other Crowd directory above the one currently used for SSO 1.0

      Expected Results

      The top Crowd directory is used for SSO 1.0.

      Actual Results

      The bottom Crowd directory is used for SSO 1.0.

      Workaround

      Force a cache invalidation by performing any of the following actions:

      1. Changing the base URL
      2. Editing any directory
      3. Deleting any directory
      4. Creating a new directory

              Assignee:
              Unassigned
              Reporter:
              Patryk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: