Class ExternalIdCheckingGroupActionStrategy

java.lang.Object
com.atlassian.crowd.directory.synchronisation.cache.AbstractGroupActionStrategy
com.atlassian.crowd.directory.synchronisation.cache.ExternalIdCheckingGroupActionStrategy
All Implemented Interfaces:
GroupActionStrategy

public class ExternalIdCheckingGroupActionStrategy extends AbstractGroupActionStrategy
A group action strategy that compares the remote group with a local group matched by external id. This adds support for renaming groups. As this class is unaware of other groups in the cache/from the remote, care must be taken to ensure no duplicates exist beforehand. This implementation also skips some checks from DefaultGroupActionStrategy, mostly related to groups of type GroupType.LEGACY_ROLE, so it is not intended as a drop in replacement for existing LDAP directories, even if they support the notion of external ids for groups.