It currently update attributes one by one due to this:
while (attributes.hasMore()) {
this.operationManager.modifyAttribute(getBindingDN(attributedType, true), attributes.next());
}
It means that for AttributedType with 5 properties, there are 5 separated network calls to LDAP server. I wonder if it's possible to update all attribute at once (have method LDAPOperationManager.modifyAttributes(String dn, Attributes attributes) , which will create all ModificationItem instances and update them all on 1 call)
|