Josephson current flowing through an antiferromagnetic metallic barrier is studied. We consider the most interesting case of the spin-valve structure when the barrier is formed by ferromagnetic layers ordered antiferromagnetically in the direction perpendicular to the current. The most remarkable feature is an appearance of giant magnetooscillations of the current amplitude.