完善功能
This commit is contained in:
@@ -78,7 +78,7 @@ public class SecurityConfig
|
||||
/**
|
||||
* 身份验证实现
|
||||
*/
|
||||
@Bean
|
||||
@Bean("authenticationManager")
|
||||
@Primary
|
||||
public AuthenticationManager authenticationManager()
|
||||
{
|
||||
|
||||
@@ -42,6 +42,7 @@ public class SysLoginService
|
||||
private TokenService tokenService;
|
||||
|
||||
@Resource
|
||||
@Qualifier("authenticationManager")
|
||||
private AuthenticationManager authenticationManager;
|
||||
|
||||
@Autowired
|
||||
|
||||
Reference in New Issue
Block a user