Today the Supreme Court did not rule that the president has the authority to detain an American citizen on American soil. What they did was delay the inevitable -- that Padilla must be charged with a crime.
A state of war is not a blank check for the president when it comes to the rights of the nation's citizens.