// Add the first value for description
String description1 = "an American singer-songwriter";
Attribute firstDescr = new BasicAttribute( "description", description1 );
ModificationItem modification = new ModificationItem( DirContext.ADD_ATTRIBUTE, firstDescr );
ctx.modifyAttributes( rdn, new ModificationItem[]
{ modification } );
// Add a second value to description
String description2 = "Grammy award winning";
Attribute otherDescr = new BasicAttribute( "description", description2 );