Announcement Announcement Module
No announcement yet.
I can't understand the logic of rebind???? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • I can't understand the logic of rebind????

    what is different between bind and rebind in spring ldap.
    The method of them is equal.
    how can we define which entry updated?
    Whether in rebinde the entry would be unbinded then would be bind.
    If we whant to update only one property from a entry what can do?

    sorry for bad english.

  • #2
    A rebind us an unbind followed by a bind, i.e. the original entry at the specified DN is removed and replaced with the new data you specify. If you only want to update one single attribute you should use the modifyAttributes method.

    Spring LDAP has excellent support for working with modifyAttributes. See the section in the reference manual on DirContextAdapter for more information.