O'Reilly logo

LDAP Programming with Java™ by Tony Dahbura, Rob Weltman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Modifying an Existing Entry

The preceding section outlined the steps necessary to add a new entry to the directory. This section will focus on altering entries that are already in the directory. To modify a single attribute of an entry, we use an LDAPModification object. We modify multiple attributes by using an LDAPModificationSet. Once the LDAPModification object has been built, the changes are written back via the modify method of LDAPConnection. Modifying an attribute value can include adding a new value, changing a value, and/or removing a value. After a brief look at the general procedure for modifying an entry, we will examine each of these cases.

Summary of Steps to Modify an Existing Entry

Modifying an entry in the directory requires ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required