NAME
LDAPSynch - Synchronize users from an external LDAP server with the internal users in an Apache Sling instance.
ABSTRACT
Perl library providing a means to synchronize users from an external LDAP server with the internal users in an Apache Sling instance.
Methods
new
Create, set up, and return an LDAPSynch object.
ldap_connect
Connect to the ldap server.
ldap_search
Perform an ldap search.
init_synch_cache
Initialize the Apache Sling synch cache.
get_synch_cache
Fetch the synchronization cache file.
update_synch_cache
Update the synchronization cache file with the latest state.
get_synch_user_list
Fetch the synchronization user list file.
update_synch_user_list
Update the synchronization user_list file with the latest state.
download_synch_user_list
Download the current synchronization user list file.
upload_synch_user_list
Upload a list of users to be synchronized into the sling system.
parse_attributes
Read the given ldap and sling attributes into two separate specified arrays. Check that the length of the arrays match.
check_for_property_modifications
Compare a new property hash with a cached version. If any changes to properties have been made, then return true. Else return false.
perform_synchronization
synch_full
Perform a full synchronization of Sling internal users with the external LDAP users.
synch_full_since
Perform a synchronization of Sling internal users with the external LDAP users, using LDAP changes since a given timestamp.
synch_listed
Perform a synchronization of Sling internal users with the external LDAP users for a set of users listed in a specified file.
synch_listed_since
Perform a synchronization of Sling internal users with the external LDAP users, using LDAP changes since a given timestamp for a set of users listed in a specified file.