Former South African president Jacob Zuma has been barred from contesting in next week's elections, South Africa's top court ruled Monday.