rwinch / spring-security-jira-to-gh

0 stars 0 forks source link

LDAP-280: LdapTemplate#create and #update should update the ID of the saved object #262

Closed rwinch closed 10 years ago

rwinch commented 10 years ago

Migrated from LDAP-280

If LdapTemplate can calculate the new ID of an entry sent to create or update, the ID should be set on the target object. This is the way it works in e.g. Spring Data Mongo, and it will be very useful when relying on @DnAttribute annotations to calculate entry DNs.

SimpleLdapRepository already does this in save.

Make sure this is properly documented in javadocs.