Hi,
I would like to understand why JIRA and Confluence synchronize the users and groups in their own database with the crowd directories that they are mapped to.
1. Why are users and groups synchronized in database of the JIRA/Confluence application when they are also cached in ehcache.
2. Does it (synchronizing to app database) improve availability or performance? If so, for which specific operations?
3. Don't the applications send requests to the connected crowd always when a user tries to login to the application? Do they use the internal database itself to authenticate / authorize users and groups some times?
3. What happens if the mapped directory is a delegated authentication directory? Is there still synchronization done between embedded crowd of application and the crowd directory?
4. Is there a way to turn off synchronization completely between application's database and the crowd directory and if so, when is it recommended / not recommended to do so?
We have seen intermittent problems that incremental synchronization between JIRA/Confluence with Crowd fails due to duplicate keys.
We are using - JIRA 5.1.2, Confluence 4.3.1 and Crowd 2.4.2. We are still investigating when these synchronization problems occur, but what I wanted to understand is if it is an optional thing to synchronize with the application database at all.