摘要: Spring Security默认是禁用注解的,要想开启注解,要在继承WebSecurityConfigurerAdapter的类加@EnableGlobalMethodSecurity注解,并在该类中将AuthenticationManager定义为Bean @Configuration @Ena 阅读全文
posted @ 2020-05-15 10:28 Sherlock先生 阅读(2321) 评论(0) 推荐(0) 编辑