We consider a single localized spin-1/2 placed between singlet superconducting leads of a Josephson junction inserted in a superconducting ring, subject to a dc magnetic field B || z. Turning on the tunneling or a time-dependent flux in a superconducting ring, induces oscillations of the Josephson current, with an amplitude sensitive to the initial value of the z-component of the spin, Sz = ±1/2, which allows for a measurement of the initial spin state. At low temperatures when effects of quasiparticles are negligible, this procedure realizes a quantum-non-demolition (QND) measurement of Sz.