-
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
- Setup Crowd SSO 1.0 in Bitbucket
- Create another Crowd directory eligible for SSO 1.0
- 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:
- Changing the base URL
- Editing any directory
- Deleting any directory
- Creating a new directory