Package com.nimbusds.ldapsync
Logic for uploading and synchronising directory entries from a source LDAP
server to a target directory accessed by means of a Json2Ldap web service.
Intended to be embedded into a managing console, desktop or web application.
The main entry point for applications is the SyncTask
class which runs the upload / sync routine.
The SyncTask extends TimerTask
and can be invoked through
a standard Runnable
interface.
The upload / synchronisation task is configured by passing a pre-
configured Configuration
object to its
constructor. The task can then be monitored by the wrapping application by
subscribing
to the
various typed events
that it
emits.
-
Interface Summary Interface Description SyncTaskEventListener An interface to notifySyncTask
callers of progress and exception events during a synchronisation task run. -
Class Summary Class Description AddEntryEvent Event indicating the addition (via ldap.add) of an entry to the target directory.AttributeComparator Compares the values of two directory attributes and produces the necessary LDAP modification instructions if they don't match.AttributeNameMap Bidirectional mapping between source and target directory attribute names, with optional value transformation.AttributeSingleValueSelector Attribute single value selector.AttributeValueTransform Attribute value transform spec.Configuration The core Json2Ldap sync agent configuration, typically read from a Java key / value properties file.Configuration.Json2Ldap The Json2Ldap web service details.Configuration.SourceDirectory The source directory details.Configuration.SourceDirectory.CustomKeyStore Custom key store settings for client certificates to be presented to the source directory.Configuration.SourceDirectory.CustomTrustStore Custom trust store settings for source directory certificates.Configuration.SourceDirectory.Search The source directory search request details for retrieving the entries for upload / synchronisation.Configuration.SourceDirectory.User The source directory user details.Configuration.Sync The directory entry synchronisation settings.Configuration.TargetDirectory The target directory details.Configuration.TargetDirectory.User The target directory user details.DeleteEntryEvent Event indicating the removal (via ldap.delete) of an entry from the target directory.Json2LdapConnector Connector to a remote Json2Ldap web service.KeyWarnings Used to report source directory entries with missing, non-unique or multi-value key attribute.ModifySpec Specifies an LDAP attribute modification.SelectSingleAttributeValueEvent Event indicating the selection of a single attribute value.SourceDirectory Represents the source LDAP v3 - compatible directory which feeds the original entries.SourceEntryRetrievalEvent Event indicating the retrieval of a source directory entry.SourceSearchCompleteEvent Event generated upon the successful completion of a source directory search operation.SyncTask Routine for uploading and updating entries from a source LDAP v3 directory to a target LDAP v3 directory accessed by means of a Json2Ldap web API.SyncTaskCompleteEvent Event generated upon the successful completion of a synchronisation task.SyncTaskEvent Represents an event generated by a synchronisation task.SyncTaskExceptionEvent Represents an exception event generated by a synchronisation task.SyncTaskStartEvent Event generated at the start of a synchronisation task.TargetDirectory Represents the target LDAP v3 - compatible directory which is accessed through aJson2Ldap web service
.TargetEntryRetrievalEvent Represents an event indicating the retrieval of a target directory entry.TargetSearchCompleteEvent Represents an event generated upon the successful completion of a target directory search operation.TransformAttributeNameEvent Event indicating the transformation of an entry attribute name.TransformAttributeValueEvent Event indicating the transformation of an entry attribute value.UpdateEntryEvent Event indicating the update (via ldap.modify) of an entry in the target directory. -
Enum Summary Enum Description LdapConnectionSecurity Enumeration of the types of transport layer security for LDAP connections.