A great white shark bit a man in the leg as he swam off a Northern California beach on Saturday morning, authorities said.