老师, 您好, 在使用了自定义的AuthenticationFilter之后, 我尝试者使用了三个Provider
@Override
protected void configure(AuthenticationManagerBuilder auth) throws Exception {
auth.authenticationProvider(authenticationProvider())
.authenticationProvider(sudoAuthenticationProvider)
.authenticationProvider(customAdminAuthenticationProvider);
}
发现了仅DaoAuthenticationProvider 和 CustomAdminAuthenticationProvider 会生效, 而SudoAuthenticationProvider不会生效, 是什么原因造成的呢?