Search code examples
jndi

JNDI: How to monitor Directory server for updates


I want to get notify whenever there is a CRUD operation on directory server. Can some body suggest me, is there any API, to monitor a directory for updates. My directory server is located in some other machine.


Solution

  • Directory Servers record the changes in their Change Log if it is enabled. For example in Oracle Internet Directory cn=changelog is located directly under Root DSE. You can use JNDI APIs to read changes recorded in change log.