public interface SyncHandler
ExternalIdentityProvider.
The synchronization performed within the scope of a SyncContext which is acquired during the
createContext(ExternalIdentityProvider, org.apache.jackrabbit.api.security.user.UserManager, org.apache.jackrabbit.oak.api.Root) call.
The exact configuration is managed by the sync handler instance. The system may contain several sync handler
implementations with different configurations. those are managed by the SyncManager.SyncContext,
SyncManager| Modifier and Type | Method and Description |
|---|---|
SyncContext |
createContext(ExternalIdentityProvider idp,
org.apache.jackrabbit.api.security.user.UserManager userManager,
org.apache.jackrabbit.oak.api.Root root)
Initializes a sync context which is used to start the sync operations.
|
String |
getName()
Returns the name of this sync handler.
|
@Nonnull SyncContext createContext(@Nonnull ExternalIdentityProvider idp, @Nonnull org.apache.jackrabbit.api.security.user.UserManager userManager, @Nonnull org.apache.jackrabbit.oak.api.Root root) throws SyncException
idp - the external identity provider used for syncinguserManager - user manager for managing authorizablesroot - root of the current treeSyncException - if an error occursCopyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.