AuthenticationManager when updating to Spring-security-3.2.0.RC2

前端 未结 2 540
梦谈多话
梦谈多话 2021-01-01 01:21

I have updated recently to spring-security-3.2.0.RC2 from RC1, and according to the blog post the QUIESCENT_POST_PROCESSOR have been removed. Before I used to create an Auth

2条回答
  •  抹茶落季
    2021-01-01 01:51

    The way to expose and get access to the AuthenticationManager bean is as follows:

    @Bean
    @Override
    public AuthenticationManager authenticationManagerBean() throws Exception
    {
       return super.authenticationManagerBean();
    }
    

提交回复
热议问题