How to Use The OVD Dynamic Entry Tree Plugin
Last updated on JUNE 19, 2017
Applies to:Oracle Virtual Directory - Version 10.1.4 and later
Information in this document applies to any platform.
How to use and configure the Oracle Virtual Directory (OVD) Dynamic Entry Tree plugin
According to the Oracle Virtual Directory Product Manual 10g (10.1.4.3), Appendix B: Bundled Plug-ins, a Dynamic Entry Tree is defined as follows:
The Dynamic Entry Tree is a general purpose plug-in that can be used to generate virtual directory tree hierarchy by using attributes found in entry leaf nodes. Example, if an adapter has a root of o=Airius.com and users are present as uid=scarter,ou=people,o=airius.com, this plug-in can insert new hierarchy using data present in the user's entry. For example, uid=scarter,ou=accounting,ou=people,o=airius.com.
The Solution below is based on the following assumptions:
- A database adapter will be used in OVD with Adapter Suffix/Namespace set to "dc=oracle,dc=com"
- A "Dynamic Entry Tree" plugin will be used
- Database entries should be viewed in OVD like this:
- There are 3 tables in the database:
SQL> select * from lvl3a; SA AP EMPLOYEE FIRST_NAME EMAIL PHONE_NU DEPARTME DEP.._ID --- --- -------- ---------- ---------------- -------- -------- -------- SA1 AP1 1 Stefan email@example.com 5554343 1 SA1 AP2 2 Vali firstname.lastname@example.org 5454343 1 SA2 AP3 3 Andra email@example.com 5464343 2 SA2 AP4 4 Andrei firstname.lastname@example.org 5764343 3 SA3 AP5 5 Anca email@example.com 5774343 2 SA3 AP6 6 Ciprian firstname.lastname@example.org 5374343 2 SA3 AP6 7 Maria email@example.com 5394343 3 SQL> select * from lvl2; SM SA --- --- SM1 SA1 SM1 SA2 SM2 SA3 SM2 SA4 SQL> select * from lvl1; MD SM -- --- MD SM1 MD SM2
- table lvl1 - stores level 1 hierarchy departments from organization "MD", with departments "SM1" and "SM2"
- table lvl2 - stores level 2 hierarchy departments from organizations "SM1" and "SM2", with departments "SA1", "SA2", "SA3", and "SA4"
For this example, a small number of departments is used to simplify the procedure
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