Alright, lets get started. Have a background and a nicely cut out layer of whatever you want to have the shadow.
For the new shadow layer, adjust in the Hue/Saturation tool (Ctrl-U) the lightness to -100.
Now adjust the opacity of the layer to the desired level.
Done.