Package org.forgerock.opendj.examples
This package includes examples illustrating various use cases of the
OpenDJ LDAP SDK, and of the Embedded Server API.
-
Class Summary Class Description ConfigureServer Provides an example of read and update of the configuration of a server that is already installed.Controls This command-line client demonstrates use of LDAP controls.ExtendedOperations This command-line client demonstrates use of LDAP extended operations.GetADChangeNotifications An example client application which searches Microsoft Active Directory synchronously, usingGenericControlto pass the Microsoft LDAP Notification control.GetInfo Demonstrates accessing server information about capabilities and schema.Modify An example client application which applies update operations to a Directory Server.ModifyAsync An example client application which applies update operations to a directory server using the asynchronous APIs.ParseAttributes This command-line client demonstrates parsing entry attribute values to objects.PasswordResetForAD This command-line client demonstrates how to reset a user password in Microsoft Active Directory.Proxy An LDAP load balancing proxy which forwards requests to one or more remote Directory Servers.ReadSchema An example client application which prints a summary of the schema on the named server as well as any warnings encountered while parsing the schema.RewriterProxy This example is based on theProxy.SASLAuth An example client application which performs SASL PLAIN authentication to a directory server over LDAP with StartTLS.Search An example client application which searches a Directory Server.SearchAsync An example client application which searches a Directory Server using the asynchronous APIs.SearchBind An interactive command-line client that performs a search and subsequent simple bind.SearchBindAsync An interactive command-line client that performs a search and simple bind using the asynchronous APIs.Server An LDAP directory server which exposes data contained in an LDIF file.SetupServer Setup a server from a OpenDJ archive using the EmbeddedDirectoryServer class.ShortLife A command-line client that creates, updates, renames, and deletes a short-lived entry in order to demonstrate LDAP write operations using the synchronous API.ShortLifeAsync A command-line client that creates, updates, renames, and deletes a short-lived entry in order to demonstrate LDAP write operations using the asynchronous APIs.SimpleAuth An example client application which performs simple authentication to a directory server.SimpleAuthAsync An example client application which performs simple authentication to a directory server using the asynchronous APIs.StartStopServer Start and stop a server that is already installed.UpdateGroup This command-line client demonstrates adding and removing a member from a (potentially large) static group.UpdateGroupAsync This command-line client demonstrates adding and removing a member from a (potentially large) static group using the asynchronous APIs.UseGenericControl An example client application which usesGenericControlto pass the pre-read request control from RFC 4527 - Lightweight Directory Access Protocol (LDAP) Read Entry Controls.UseSchema This example command-line client application validates an entry against the directory server schema before adding it.UseSchemaAsync This example command-line client application validates an entry against the directory server schema before adding it using the asynchronous APIs.