We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f204b61 commit 63c8423Copy full SHA for 63c8423
1 file changed
spring-security-mvc-boot/src/main/java/org/baeldung/config/SecurityConfig.java
@@ -24,7 +24,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
24
25
@Override
26
protected void configure(final AuthenticationManagerBuilder auth) throws Exception {
27
- auth.userDetailsService(userDetailsService);
+ auth.authenticationProvider(authenticationProvider());
28
}
29
30
0 commit comments