CLASSY OBAMA BASHES BUSH AT NAVAL ACADEMY GRADUATION--
Obama told the grads he would only send them into harm's way "when it was necessary."
President Barack Obama Friday warned America risked its security when it compromised its values, seeking support for his bid to sketch a new legal framework for anti-terror policies.
Obama used the backdrop of the US Naval Academy graduation ceremony to argue that founding US ideals must guide the future battle against terrorism, a day after trying to quell raging debate over Guantanamo Bay in a major speech.
"We uphold our fundamental principles and values not just because we choose to, but because we swear to -- not because they feel good, but because they help keep us safe," Obama told 30,000 graduating navy cadets and family members.
"When America strays from our values, it not only undermines the rule of law, it alienates us from our allies, it energizes our adversaries and it endangers our national security and the lives of our troops."
Obama told the graduates they would face a "full spectrum of threats" from 18th century-style piracy to cyber terrorism.
"As long as I am your commander-in-chief, I will only send you into harm's way when it is absolutely necessary," Obama said, in an apparent veiled criticism of the Bush administration war in Iraq, which the president has argued was unnecessary.