r/SpringBoot • u/PlaceMyAss420 • Jul 25 '23
Every Spring Security tutorial leads to deprecated code
Beginner spring learner, created some basic crud app using Spring Data JPA when I decided to learn spring security every tutorial leads to deprecated code.
Even tutorials as late as Jan 2023 Even updated methods such as .authorizeHttpRequest() shown as “deprecated and marked for removal”. I’m so lost and have no idea how to study spring security as even these “updated” methods are already considered deprecated where do I learn the latest Spring Security as a beginner.
74
Upvotes
13
u/MartinPeterBauer Jul 25 '23
I feel your pain. We Upgraded Our apps recently to latetest Version of spring Security and it took me ages To-Do it.
The best source was the section in spring Security on how to migrate to 6.0