My Oracle Support Banner

Sample Java Class To Perform An LDAP Bind Test To Troubleshoot LDAP And LDAP SSL Connection Problems From Java Clients (Doc ID 1069357.1)

Last updated on MARCH 01, 2024

Applies to:

Oracle Fusion Middleware - Version to [Release AS10gR2 to Oracle11g]
Oracle Containers for J2EE - Version to [Release AS10gR2 to AS10gR3]
Information in this document applies to any platform.


The target of this note is to simulate the functionality  of  "ldapbind"  tool which is not exist in some Application Server Installation Types , using simple java code . The test is also useful to troubleshoot Application Server Configuration Assistants which run in java and connect to OID, e.g. oidca or dipca.

This simple code will help to determine the root cause of any connection problem that would happen when trying to connect from java to OID , as the exception that will be thrown when running this Java code , should give clear error message about the problem.


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

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