PDA

View Full Version : Web project with ( Spring + Apache DS )



Ghed
Feb 27th, 2007, 05:33 AM
Hi all!
I am using Spring +Apache DS but I have a little problem .. I coded the userManager for CRUD operations on LDAP server.. it works fine, but if I change the password attribute it seems not to be refreshed!


userManager.updateAccount( Account a, String newPassword, Birthdate day )


The birthdate is rightly changed, but the user password is refreshed only if I restart the Apache DS! ( I tried to close the browser and shutdown the application server also !!)
Why?!? :confused:

Ghed
Feb 27th, 2007, 08:11 AM
Hi all!
My userManager uses:


LdapOperations.modifyAttributes( javax.naming.Name dn, javax.naming.directory.ModificationItem[] mods )


.. I noticed that simple attribute is changed without problem .. but what about userpassword attribute?