Daniel David Parry > Apache-Sling-0.17 > Apache::Sling::LDAPSynch

Download:
Apache-Sling-0.17.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.17   Source   Latest Release: Apache-Sling-0.27

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.

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

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.

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>

syntax highlighting: