directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <kayyag...@apache.org>
Subject Re: Operations listener to trigger custom scripts
Date Tue, 18 Aug 2015 12:33:22 GMT
On Tue, Aug 18, 2015 at 8:23 PM, Tristan Zwingelstein <
tristan.zwingelstein@gmail.com> wrote:

> Dear Community,
>
> is there a way with the API to react on ldap events like "create", "delete"
> or "modify".
> Because I would like to trigger some custom java scripts after these ldap
> events.
> If yes do you have a simple Java example available ? Or at least what are
> the classes to use ?
>
> do a search by sending a SearchRequest with PersistentSearchImpl control
instance
then just loop over the EntryCursor instance

while(cursor.next())
{
  SearchResultEntry sre = cursor.get();
  ....
}

Thanks in advance for your help !
>
> --
> Tristan ZWINGELSTEIN <http://tristan.zwingelstein.net>
>
> 17 Rue Principale
> 68780 Soppe-le-Bas
> FRANCE
>
> 00 33 (0)7 83 42 23 48
> 00 41 (0)76 819 18 74
> 03 89 38 50 17
>



-- 
Kiran Ayyagari
http://keydap.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message