On 6/23/10 3:41 PM, Stefano Gargiulo wrote:
Hi all,
I need to implement a trigger to check the uniqueness of an attribute
(e.g. uid, mail) under a subtree, is it possible?
I guess so.
Where can i find some examples to do things of this kind?
The best would be to read Erisn's paper on
http://directory.apache.org/community%26resources/ldap-stored-procedures-and-triggers-in-apacheds.html
Otherwise, there are some tests in the core-integ module :
http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/trigger/
Do i need eclipse to compile the triggers or i can use netbeans?
It's Java, you can even use vi + javac :)
--
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com