Senator John McCain sharply criticized Senator Barack Obama for saying Iran was not the serious threat the Soviet Union once was.