Products

UnboundID LDAP SDK for Java

Product Information

Example Source Files

AuthRate.java

Provides a tool that can be used to perform repeated authentications against an LDAP directory server using multiple threads. Each authentication will consist of two operations: a search to find the target user, and then a bind as that user. This tool can help provide an estimate of the authentication performance that a directory server is able to achieve. The base DN for the searches can be specified using a value pattern, like "uid=user.[1-1000],ou=People,dc=example,dc=com", and the search filter may also be provided as a value pattern, like "(uid=user.[1-1000])". Some of the APIs demonstrated by this example include:

  • Argument Parsing
  • LDAP Command Line Tool
  • LDAP Communication
  • Value Patterns

LDAPCompare.java

Provides a tool that can be used to perform compare operations in an LDAP directory server. Some of the APIs demonstrated by this example include:

  • Argument Parsing
  • LDAP Command Line Tool
  • LDAP Communication

LDAPModify.java

Provides a tool that can be used to perform add, delete, modify, and modify DN operations in an LDAP directory server. The write operations to perform should be provided in LDIF form. Some of the APIs demonstrated by this example include:

  • Argument Parsing
  • LDAP Command Line Tool
  • LDIF Processing

LDAPSearch.java

Provides a tool that can be used to perform search operations in an LDAP directory server. Some of the APIs demonstrated by this example include:

  • Argument Parsing
  • LDAP Command Line Tool
  • LDAP Communication

ModRate.java

Provides a tool that can be used to perform repeated modifications in an LDAP directory server using multiple threads. It can help provide an estimate of the modify performance that a directory server is able to achieve. The DN of the entries to modify can be specified using a value pattern, like "uid=user.[1-1000],ou=People,dc=example,dc=com". Some of the APIs demonstrated by this example include:

  • Argument Parsing
  • LDAP Command Line Tool
  • LDAP Communication
  • Value Patterns

SearchRate.java

Provides a tool that can be used to perform repeated searches in an LDAP directory server using multiple threads. It can help provide an estimate of the search performance that a directory server is able to achieve. The base DN for the searches can be specified using a value pattern, like "uid=user.[1-1000],ou=People,dc=example,dc=com", and the search filter may also be provided as a value pattern, like "(uid=user.[1-1000])". Some of the APIs demonstrated by this example include:

  • Argument Parsing
  • LDAP Command Line Tool
  • LDAP Communication
  • Value Patterns

ValidateLDIF.java

Provides a tool that can be used to validate that the contents of an LDIF file are valid. This includes ensuring that the contents can be parsed as valid LDIF, and it can also ensure that the LDIF content conforms to a server schema. It will obtain the schema by connecting to the server and retrieving the default schema (i.e., the schema which governs the root DSE). Some of the APIs demonstrated by this example include:

  • Argument Parsing
  • LDAP Command Line Tool
  • LDIF Processing
  • Schema Parsing