Overview

LDAP Common Code

This project contains code and utilities common to the LDAP protocol.

LDAP Common Packages

Filter

The filter package will parsese and LDAP expression into a filter expression tree as defined in RFC 2254

LDIF

The The LDAP Data Interchange Format (LDIF) parsing package Parses an LDIF into a multimap or a JNDI Attributes instance of attribute key/value pairs with potential more than one attribute value per attribute. This parser populates the MultiMap or Attributes instance with all attributes within the LDIF including control attributes like the 'dn' and the changeType.

The package contain an LDIF entry class that can be used. Along with the parsing utility, the embedding application can LDIF parsing and management without becomming an expert on the RFC. Addition details about LDIF can be obtained from the LDIF RFC

Message

The LDAP Common Messaging package provides a framework for all LDAP request and response messages. Each of the reponses and requests have an implementation.

Name

This package provides LDAP distinguished name creation and normalization. This provides a common method for ensuring you are creating the entry DN correctly. Failure to properly create and normalize the DN of an entry will result in unpredicatble results when operations are performed on the entry.