Class RemoteDirectoryCacheRefresher
java.lang.Object
com.atlassian.crowd.directory.synchronisation.cache.AbstractCacheRefresher
com.atlassian.crowd.directory.ldap.cache.RemoteDirectoryCacheRefresher
- All Implemented Interfaces:
CacheRefresher
A simple implementation of CacheRefresher that will only do "Full Refresh".
This is used for all LDAP servers other than AD.
- Since:
- v2.1
-
Field Summary
Fields inherited from class com.atlassian.crowd.directory.synchronisation.cache.AbstractCacheRefresher
remoteDirectory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<GroupWithAttributes>findAllRemoteGroups(boolean withAttributes) protected List<UserWithAttributes>findAllRemoteUsers(boolean withAttributes) protected PartialSynchronisationResult<? extends GroupWithAttributes>synchroniseAllGroups(DirectoryCache directoryCache) protected PartialSynchronisationResult<? extends UserWithAttributes>synchroniseAllUsers(DirectoryCache directoryCache) synchroniseChanges(DirectoryCache directoryCache, String syncToken) Methods inherited from class com.atlassian.crowd.directory.synchronisation.cache.AbstractCacheRefresher
directoryDescription, getMemberships, isGroupAttributeSynchronisationEnabled, isIncrementalSyncEnabled, isUserAttributeSynchronisationEnabled, synchroniseAll, synchroniseAllGroupAttributes, synchroniseAllUserAttributes, synchroniseMembershipsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.crowd.directory.synchronisation.cache.CacheRefresher
synchroniseAll
-
Constructor Details
-
RemoteDirectoryCacheRefresher
-
-
Method Details
-
synchroniseChanges
public CacheSynchronisationResult synchroniseChanges(DirectoryCache directoryCache, String syncToken) throws OperationFailedException - Specified by:
synchroniseChangesin interfaceCacheRefresher- Throws:
OperationFailedException
-
findAllRemoteUsers
protected List<UserWithAttributes> findAllRemoteUsers(boolean withAttributes) throws OperationFailedException - Throws:
OperationFailedException
-
findAllRemoteGroups
protected List<GroupWithAttributes> findAllRemoteGroups(boolean withAttributes) throws OperationFailedException - Throws:
OperationFailedException
-
synchroniseAllUsers
protected PartialSynchronisationResult<? extends UserWithAttributes> synchroniseAllUsers(DirectoryCache directoryCache) throws OperationFailedException - Specified by:
synchroniseAllUsersin classAbstractCacheRefresher- Throws:
OperationFailedException
-
synchroniseAllGroups
protected PartialSynchronisationResult<? extends GroupWithAttributes> synchroniseAllGroups(DirectoryCache directoryCache) throws OperationFailedException - Specified by:
synchroniseAllGroupsin classAbstractCacheRefresher- Throws:
OperationFailedException
-