attribute.add( attrVals[x].getValueAsObject() );
}
if ( modSpecType.isAdd() )
{
mis[ii] = new ModificationItem( DirContext.ADD_ATTRIBUTE, attribute );
}
else if ( modSpecType.isDelete() )
{
mis[ii] = new ModificationItem( DirContext.REMOVE_ATTRIBUTE, attribute );
}
else if ( modSpecType.isReplace() )
{
mis[ii] = new ModificationItem( DirContext.REPLACE_ATTRIBUTE, attribute );
}
}
browserConnection.getConnection().getJNDIConnectionWrapper().modifyEntry( dn, mis,
getControls( modifyRecord ), monitor, null );