autowired WebSecurityConfigurerAdapter 中注册 过滤器时报下面错误:not autowired. Not beans of "XXXFilter" type解决方法:是在过滤器类上加一个 @Component