public class RemoteDirectoryCacheRefresher extends AbstractCacheRefresher implements CacheRefresher
remoteDirectory| Constructor and Description |
|---|
RemoteDirectoryCacheRefresher(RemoteDirectory remoteDirectory) |
| Modifier and Type | Method and Description |
|---|---|
protected List<GroupWithAttributes> |
findAllRemoteGroups(boolean withAttributes) |
protected List<UserWithAttributes> |
findAllRemoteUsers(boolean withAttributes) |
protected PartialSynchronisationResult<? extends GroupWithAttributes> |
synchroniseAllGroups(DirectoryCache directoryCache)
This method is expected to fetch the groups to update (or all currently in the remote directory)
and update the directory cache (call the appropriate method for deleting and then the appropriate method for
updating/adding).
|
protected PartialSynchronisationResult<? extends UserWithAttributes> |
synchroniseAllUsers(DirectoryCache directoryCache)
This method is expected to fetch the users to update (or all currently in the remote directory)
and update the directory cache (call the appropriate method for deleting and then the appropriate method for
updating/adding).
|
CacheSynchronisationResult |
synchroniseChanges(DirectoryCache directoryCache,
String syncToken)
Attempts to synchronise changes since the last refresh as opposed to performing a full synchronisation.
|
directoryDescription, getMemberships, isGroupAttributeSynchronisationEnabled, isIncrementalSyncEnabled, isUserAttributeSynchronisationEnabled, synchroniseAll, synchroniseAllGroupAttributes, synchroniseAllUserAttributes, synchroniseMembershipsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsynchroniseAllpublic RemoteDirectoryCacheRefresher(RemoteDirectory remoteDirectory)
public CacheSynchronisationResult synchroniseChanges(DirectoryCache directoryCache, String syncToken) throws OperationFailedException
CacheRefreshersynchroniseChanges in interface CacheRefresherdirectoryCache - the DirectoryCache to update.OperationFailedException - if there was an error processing the operationprotected List<UserWithAttributes> findAllRemoteUsers(boolean withAttributes) throws OperationFailedException
OperationFailedExceptionprotected List<GroupWithAttributes> findAllRemoteGroups(boolean withAttributes) throws OperationFailedException
OperationFailedExceptionprotected PartialSynchronisationResult<? extends UserWithAttributes> synchroniseAllUsers(DirectoryCache directoryCache) throws OperationFailedException
AbstractCacheRefresherAbstractCacheRefresher.synchroniseAll(DirectoryCache) if the directory
allows that.synchroniseAllUsers in class AbstractCacheRefresherdirectoryCache - the cache which this method should updateOperationFailedExceptionprotected PartialSynchronisationResult<? extends GroupWithAttributes> synchroniseAllGroups(DirectoryCache directoryCache) throws OperationFailedException
AbstractCacheRefresherAbstractCacheRefresher.synchroniseAll(DirectoryCache) if the directory
allows that.synchroniseAllGroups in class AbstractCacheRefresherdirectoryCache - the cache which this method should updateOperationFailedExceptionCopyright © 2023 Atlassian. All rights reserved.