Lincoln overstepped the Congressional grant that established a perimeter for suspending habeas corpus ...
http://www.freerepublic.com/focus/f-news/1545425/posts?page=260#260
Ex Parte Milligan, 71 U.S. 2 (1866)
The court did NOT rule on Japanese internment in Korematsu. It ruled on the part of the military order (that was authorized by a specific Congressional Act) that said the Japanese could be excluded from militarily sensitive areas (the specification of areas was delegated to the military by the Act of Congress), but did not rule on the Constitutionality of the internment ...
http://www.freerepublic.com/focus/f-news/1545018/posts?page=46#46
Toyosaburo Korematsu v. United States, 323 US 214 (1944).
The first few pages of Korematsu are must read material in light of the current war on terror. Milligan is good too, and no doubt will be a point of law raised in the Padilla case. While very illuminating, Milligan is dense reading.