Barack Obama actually said...
If the President is presented with a bill that undermines critical priorities or national security, the President will veto the bill.
Context
Statement of Administration Policy: H.R. 1 - Full-Year Continuing Appropriations Act
03/08/2011