subject.login() 在try/catch中,輸入錯誤密碼仍登陸成功,不在try/catch中就會報憑證不正確
????????subject.login(token);
//????????try?{
//????????????subject.login(token);
//????????}?catch?(AuthenticationException?e)?{
//????????????e.getMessage();
//????????}
????????return?"登錄成功"+name+password;
2018-09-27
已解決 catch 中沒有加return