dimanche 12 avril 2015

how to delete the particular attribute from LDAP using spring templete

I am using the following code for delete process



public void delete(Person p) {
Name dn = buildDn(p);
ldapTemplate.unbind(dn);


}


but using the unbind() , it will delete all the attribute , but I want to delete only particular atrribute from ldap like role of the person.


Thanks for help.


Aucun commentaire:

Enregistrer un commentaire