| | |
| | | } catch (Exception e){ |
| | | this.recordLoginInfo(requestLogin.getUsername(), String.valueOf(ResponseCode.ERROR.getCode()), "登录未成功认证", 0, null, null); |
| | | if(e instanceof UsernameNotFoundException){ |
| | | // logger.debug(".............用户不存在:" + requestLogin.getUsername()); |
| | | throw new LoginException("用户账号不存在,或已停用:" + requestLogin.getUsername(), e, true); |
| | | // throw new LoginException("用户账号不存在,或已停用:" + requestLogin.getUsername(), e, true); |
| | | throw new LoginException("用户账号不存在,或已停用:" + requestLogin.getUsername(), null, true); |
| | | } |
| | | if (e instanceof BadCredentialsException){ |
| | | // return ResponseValue.error(ResponseCode.USER_CREDENTIALS_ERROR.getCode(), ResponseCode.USER_CREDENTIALS_ERROR.getMessage()); |