WASHINGTON - President Obama on Tuesday forcefully rebuked Republicans on the presidential campaign trail and in Congress for " beating the drums of war " in criticizing his efforts to find a diplomatic solution to the crisis over Iran's nuclear program, underscoring how squarely the national security issue had entered the election - year debate.