This commit is contained in:
LuoYe_MyWork 2020-09-07 15:55:39 +08:00
parent 2cbfbd0f71
commit da7b7c18dc

View File

@ -69,7 +69,6 @@ public class GithubLoginAuthenticationFilter extends AbstractAuthenticationProce
UsernamePasswordAuthenticationToken authRequest = new UsernamePasswordAuthenticationToken(code, state); UsernamePasswordAuthenticationToken authRequest = new UsernamePasswordAuthenticationToken(code, state);
// 设置身份认证的详情信息 // 设置身份认证的详情信息
this.setDetails(httpServletRequest, authRequest); this.setDetails(httpServletRequest, authRequest);
// 通过AuthenticationManager调用相应的AuthenticationProvider进行用户认证 // 通过AuthenticationManager调用相应的AuthenticationProvider进行用户认证
return this.getAuthenticationManager().authenticate(authRequest); return this.getAuthenticationManager().authenticate(authRequest);
} }