Those settings are for either Blender Internal rendering engine, or for the Blender Game Engine, displaying shadows in the viewport for Blender Cycles materials and shader is not currently supported.
Either switch rendering engines (on the pulldown menu that reads Cyckes Render in the header of the Info Window on the top blender screen) and rebuild your materials for the new render, if your priority is getting viewport shadows; or if you wish to remain with Cycles then use viewport rendered preview (Shift + Z)