The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Apache::Sling::LDAPSynch - synchronize users from an external LDAP server into an Apache Sling instance.

ABSTRACT

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.

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

Carry out the synchronization from LDAP to Sling.

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.

config

Fetch hash of ldap synchronization configuration.

run

Run ldap synchronization related actions.

USAGE

use Apache::Sling::LDAPSynch;

DESCRIPTION

Perl library providing a means to synchronize users from an external LDAP server with the internal users in an Apache Sling instance.

REQUIRED ARGUMENTS

None required.

OPTIONS

n/a

DIAGNOSTICS

n/a

EXIT STATUS

0 on success.

CONFIGURATION

None required.

DEPENDENCIES

INCOMPATIBILITIES

None known.

BUGS AND LIMITATIONS

None known.

AUTHOR

Daniel David Parry <perl@ddp.me.uk>

LICENSE AND COPYRIGHT

LICENSE: http://dev.perl.org/licenses/artistic.html

COPYRIGHT: (c) 2011 Daniel David Parry <perl@ddp.me.uk>