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, 2023
Applies to:
Oracle Fusion Middleware - Version 10.1.2.0.2 to 11.1.1.2.0 [Release AS10gR2 to Oracle11g]Oracle Containers for J2EE - Version 10.1.2.0.2 to 10.1.3.5.0 [Release AS10gR2 to AS10gR3]
Information in this document applies to any platform.
Goal
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.
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 |