Wash chicken legs, dab dry with kitchen paper and rub with salt. Place on a baking tray and bake in a preheated oven (electric cooker: 200 °C/ gas: level 3) for about 40 minutes. In the meantime, peel the shallots and cut them in half as desired. Peel garlic and chop finely. Wash the rosemary, dab dry and pluck the needles from the stalks.
Clean, wash and slice the tomatoes. Wash basil, dab dry, pluck leaves from the stalks and chop. Pour beans into a sieve, rinse with cold water and drain. Heat olive oil in a casserole dish. Brown the shallots in it. Add garlic, herbs and tomatoes and fry briefly. Deglaze with wine and tomato juice and simmer at medium heat for about 8 minutes. Add the beans 2 minutes before the end of the cooking time. Season to taste with salt, pepper, sugar and paprika.
Brown the shallots in it. Add garlic, herbs and tomatoes and fry briefly. Deglaze with wine and tomato juice and simmer at medium heat for about 8 minutes. Add the beans 2 minutes before the end of the cooking time. Season to taste with salt, pepper, sugar and paprika. Serve chicken legs and vegetables garnished with basil and garlic to taste