My Oracle Support Banner

Configure OC4J to Use LDAP Authentication Using OID for J2EE Applications (Doc ID 377271.1)

Last updated on JUNE 30, 2022

Applies to:

Oracle Containers for J2EE - Version and later
Information in this document applies to any platform.


The following 'howto' is designed to describe configuring a J2EE application on OC4J to use LDAP to perform the authentication, before allowing access to the application. It runs through the various screens used in OIM (Oracle Identity Management) web console to create a user as well as provides a sample application EAR created in JDeveloper 10.1.3 you can use to test with. The various deployment artifacts are explained and shown in the various files from the Jdeveloper workspace and explained in this article along with how to deploy the application and access it to test this out
Most of the focus here is on OC4J 10.1.3 stand alone and only a small part focuses on OIM console to explain what artifacts we are expecting in our J2EE OC4J deployment descriptors so we can see how they tie in with OID to provide authentication against a given role name. There should be no reason this doesn't work against Oracle Application Server 10.1.3 but this note is using a stand alone OC4J 10.1.3 instance


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
 Ensuring you have a USER in OIM to use
 Enabling Identity Management on OC4J
 Sample Application
Deployment Artifacts

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