public interface UserRegistrySynchronizer
UserRegistrySynchronizeris responsible for synchronizing Alfresco's local user (person) and group (authority) information with one or more external sources (most typically LDAP directories).
|Modifier and Type||Method and Description|
Creates a person object for a successfully authenticated user who does not yet have a person object, if allowed to by configuration.
Gets the set of property names that are auto-mapped for the user with the given user name.
Retrieves timestamped user and group information from configured external sources and compares it with the local users and groups last retrieved from the same sources.
boolean createMissingPerson(String username)
username- the user name
void synchronize(boolean forceUpdate, boolean isFullSync)
forceUpdate- Should the complete set of users and groups be updated / created locally or just those known to have changed since the last sync? When
truethen all users and groups are queried from the user registry and updated locally. When
falsethen each source is only queried for those users and groups modified since the most recent modification date of all the objects last queried from that same source.
isFullSync- Should a complete set of user and group IDs be queried from the user registries in order to determine deletions? This parameter is independent of
forceas a separate query is run to process updates.
Copyright © 2005–2017 Alfresco Software. All rights reserved.