My Oracle Support Banner

OID - Performing LDAP Operations Using Multithreading Against OID Using Java JNDI API (Doc ID 2312559.1)

Last updated on AUGUST 14, 2022

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=<COMPANY>,dc=com;
- Two existing user containers, e.g., cn=users and cn=users_new under dc=<COMPANY>,dc=com;
- Ten (10) users have been created under cn=users, e.g.: "cn=<TEST_USER1>, ..cn=<TEST_USER2>;

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.