Creating custom Java classes for searching the LDAP

Create custom Java™ classes that provide greater control over how the Sametime® Community server conducts name searches of an LDAP directory and how results are formatted.

About this task

Creating a custom Java class can be especially effective with complex LDAP directory schemas. The Java code that you write must be compatible with the Java Run-Time Environment (JRE) version 1.6 or later. In addition to the following topics, the Sametime wiki contains an article on writing Java classes that includes sample search filters: Optimizing Name Lookup: Sametime server .

New and existing custom Java classes for searching the Community Server's LDAP directory must include the appropriate UUID attribute for the LDAP directory if UUID is used with policy assignments or Sametime user login IDs:
Table 1. UUID attributes for LDAP directoriesEach LDAP directory that is supported by Sametime provides a UUID attribute that you can use in your custom Java classes.

LDAP directory UUID attribute
IBM® Domino® Directory (LDAP format only) Dominounid
IBM Security Directory Server ibm-entryuuid
Microsoft™ Active Directory objectguid
Novell eDirectory guid