Class ClusterAwareUserAuthorisationCache

java.lang.Object
com.atlassian.crowd.cache.DelegatingUserAuthorisationCache
com.atlassian.crowd.cache.ClusterAwareUserAuthorisationCache
All Implemented Interfaces:
UserAuthorisationCache

public class ClusterAwareUserAuthorisationCache extends DelegatingUserAuthorisationCache implements UserAuthorisationCache
A cluster-safe implementation of UserAuthorisationCache. The cache itself is node-local. Cluster safety is achieved by: - using a key that is resilient to configuration and data changes (includes the user external id, and directory id) - propagating full clears using the ClusterMessageService