-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebSecurityConfigurerAdapter has been deprecated #13
Comments
Hey JayRizzo. I have been struggling with the same problem for 2 days. I decided to put my head down and try to fix the problem on my own. Here is what I came up with and it works perfectly fine. Hope this helps! // ... All your packages and imports @configuration
} |
This works fine import lombok.AllArgsConstructor; @configuration
} |
On the pom.xml file u can the version to older one this will work { to 5.5.0 } and reload the project by right clicking On pom.xml file select Maven and reload the project and u r good to go ...... {i m new to this It worked for me Thats all not recommanded.} |
Hey guys, so I too encounter this error. As of today with sprint boot version of 3.1.4. After lots of debugging. I fixed the issue. Here is what's working for me without any issue for WebSecurityConfig class. ` import com.example.demo.appuser.AppUserService; import static org.springframework.security.config.Customizer.withDefaults; @configuration
}` |
FYI --
.../src/main/java/com/demo/security/config/WebSecurityConfig.java:17:40
java: org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter in org.springframework.security.config.annotation.web.configuration has been deprecated
Notated Here:
spring-projects/spring-security@e97c643#diff-1f087c7ac3aa768e19af9c74e4a21899696a8a4f7c89c9aff07e55792050cda6R97
This prevents me from following your tutorial listed here: https://www.youtube.com/watch?v=QwQuro7ekvc
Please address when time permits.
The text was updated successfully, but these errors were encountered: