public class SyncMBeanImpl extends Object implements SynchronizationMBean
SynchronizationMBean interface.| Constructor and Description |
|---|
SyncMBeanImpl(@NotNull org.apache.jackrabbit.oak.api.ContentRepository repository,
@NotNull org.apache.jackrabbit.oak.spi.security.SecurityProvider securityProvider,
@NotNull SyncManager syncManager,
@NotNull String syncName,
@NotNull ExternalIdentityProviderManager idpManager,
@NotNull String idpName) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
getIDPName()
Returns the name of the
ExternalIdentityProvider
that this MBean operates on. |
@NotNull String |
getSyncHandlerName()
Returns the name of the
SyncHandler
that this MBean operates on. |
@NotNull String[] |
listOrphanedUsers()
Returns a list of orphaned users, i.e.
|
@NotNull String[] |
purgeOrphanedUsers()
Purges all orphaned users.
|
@NotNull String[] |
syncAllExternalUsers()
Synchronizes all the external users, i.e.
|
@NotNull String[] |
syncAllUsers(boolean purge)
Synchronizes all local users with the given user ids.
|
@NotNull String[] |
syncExternalUsers(@NotNull String[] externalIds)
Synchronizes the external users with the given external ids.
|
@NotNull String[] |
syncUsers(@NotNull String[] userIds,
boolean purge)
Synchronizes the local users with the given user ids.
|
public SyncMBeanImpl(@NotNull
@NotNull org.apache.jackrabbit.oak.api.ContentRepository repository,
@NotNull
@NotNull org.apache.jackrabbit.oak.spi.security.SecurityProvider securityProvider,
@NotNull
@NotNull SyncManager syncManager,
@NotNull
@NotNull String syncName,
@NotNull
@NotNull ExternalIdentityProviderManager idpManager,
@NotNull
@NotNull String idpName)
@NotNull public @NotNull String getSyncHandlerName()
SynchronizationMBeanSyncHandler
that this MBean operates on.getSyncHandlerName in interface SynchronizationMBean@NotNull public @NotNull String getIDPName()
SynchronizationMBeanExternalIdentityProvider
that this MBean operates on.getIDPName in interface SynchronizationMBean@NotNull public @NotNull String[] syncUsers(@NotNull @NotNull String[] userIds, boolean purge)
SynchronizationMBeansyncUsers in interface SynchronizationMBeanuserIds - the user idspurge - if true users that don't exist in the IDP are deleted.@NotNull public @NotNull String[] syncAllUsers(boolean purge)
SynchronizationMBeansyncAllUsers in interface SynchronizationMBeanpurge - if true users that don't exist in the IDP are deleted.@NotNull public @NotNull String[] syncExternalUsers(@NotNull @NotNull String[] externalIds)
SynchronizationMBeansyncExternalUsers in interface SynchronizationMBeanexternalIds - the external id@NotNull public @NotNull String[] syncAllExternalUsers()
SynchronizationMBeansyncAllExternalUsers in interface SynchronizationMBean@NotNull public @NotNull String[] listOrphanedUsers()
SynchronizationMBeanlistOrphanedUsers in interface SynchronizationMBean@NotNull public @NotNull 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–2018 The Apache Software Foundation. All rights reserved.