Physical realization of the Glauber quantum oscillator