RameshMF / registration-login-spring-boot-security-thymeleaf-hibernate

Registration and Login with Spring Boot, Spring Security, Thymeleaf, Hibernate and MySQL
https://youtu.be/Hk70e7KR290
187 stars 148 forks source link

'org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter' is deprecated #6

Open lawrencematthew19942016 opened 2 years ago

lawrencematthew19942016 commented 2 years ago

WebSecurityConfigurerAdapter has be deprecated from SpringBoot, is there any chance you can update to match recent Spring Security standards?

anto0306 commented 2 years ago

Same Issue i am also facing. add the dependency

org.springframework.security spring-security-config 5.6.5

otherwise dont extends the websecurityConfigureAdapter . use SecurityFilterchain like this.... better you have added the dependency this error gone. Thanks a lot