public class SyncMBeanImpl extends Object implements SynchronizationMBean
SynchronizationMBean interface.| Constructor and Description |
|---|
SyncMBeanImpl(org.apache.jackrabbit.oak.api.ContentRepository repository,
org.apache.jackrabbit.oak.spi.security.SecurityProvider securityProvider,
SyncManager syncManager,
String syncName,
ExternalIdentityProviderManager idpManager,
String idpName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIDPName()
Returns the name of the
ExternalIdentityProvider
that this MBean operates on. |
String |
getSyncHandlerName()
Returns the name of the
SyncHandler
that this MBean operates on. |
String[] |
listOrphanedUsers()
Returns a list of orphaned users, i.e.
|
String[] |
purgeOrphanedUsers()
Purges all orphaned users.
|
String[] |
syncAllExternalUsers()
Synchronizes all the external users, i.e.
|
String[] |
syncAllUsers(boolean purge)
Synchronizes all local users with the given user ids.
|
String[] |
syncExternalUsers(String[] externalIds)
Synchronizes the external users with the given external ids.
|
String[] |
syncUsers(String[] userIds,
boolean purge)
Synchronizes the local users with the given user ids.
|
public SyncMBeanImpl(@Nonnull org.apache.jackrabbit.oak.api.ContentRepository repository, @Nonnull org.apache.jackrabbit.oak.spi.security.SecurityProvider securityProvider, @Nonnull SyncManager syncManager, @Nonnull String syncName, @Nonnull ExternalIdentityProviderManager idpManager, @Nonnull String idpName)
@Nonnull public String getSyncHandlerName()
SynchronizationMBeanSyncHandler
that this MBean operates on.getSyncHandlerName in interface SynchronizationMBean@Nonnull public String getIDPName()
SynchronizationMBeanExternalIdentityProvider
that this MBean operates on.getIDPName in interface SynchronizationMBean@Nonnull public String[] syncUsers(@Nonnull String[] userIds, boolean purge)
SynchronizationMBeansyncUsers in interface SynchronizationMBeanuserIds - the user idspurge - if true users that don't exist in the IDP are deleted.@Nonnull public String[] syncAllUsers(boolean purge)
SynchronizationMBeansyncAllUsers in interface SynchronizationMBeanpurge - if true users that don't exist in the IDP are deleted.@Nonnull public String[] syncExternalUsers(@Nonnull String[] externalIds)
SynchronizationMBeansyncExternalUsers in interface SynchronizationMBeanexternalIds - the external id@Nonnull public String[] syncAllExternalUsers()
SynchronizationMBeansyncAllExternalUsers in interface SynchronizationMBean@Nonnull public String[] listOrphanedUsers()
SynchronizationMBeanlistOrphanedUsers in interface SynchronizationMBean@Nonnull public String[] purgeOrphanedUsers()
SynchronizationMBeanSynchronizationMBean.syncUsers(String[], boolean) with the list of
orphaned users. Note tha this can be an expensive operation since all potential users need to be examined.purgeOrphanedUsers in interface SynchronizationMBeanCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.