OID - Performing LDAP Operations Using Multithreading Against OID Using Java JNDI API

(Doc ID 2312559.1)

Last updated on SEPTEMBER 29, 2017

Applies to:

Oracle Internet Directory - Version 11.1.1 and later
Information in this document applies to any platform.

Goal

The main purpose of this sample is to show how to use java Multithreading features and optimize large amount of operations by java API.
The second purpose is to show how using API instead of command line ldap commands will avoid binding/unbinding operations that are performed by the regular ldap commands.

CAUTION

This sample code is provided for educational purposes only and is not supported by Oracle Support.
It has been tested internally, however, we do not guarantee that it will work for you.
Please ensure that you run it in your test environment before using.

   


Prerequisites:

- OID is installed;
- Created realm, for example: dc=example,dc=com;
- Two existing user containers, e.g., cn=users and cn=users_new under dc=example,dc=com;
- Ten (10) users have been created under cn=users, e.g.: "cn=SRtest1, ..cn=SRtest10;

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms