In the same pan or in a Dutch oven, brown the shallots in the oil. Add the peppers, lime, thyme, and spices. Cook for 1 minute while stirring. Add the remaining ingredients and bring to boil. Put the ham back in the pan, skin side up. Cover and bake for 1 hour. Remove the cover and continue cooking for 1 hour, basting frequently with the ham juices to glaze the surface.