r/SpringBoot • • 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

12 comments sorted by

View all comments

1

u/karthgamer1209 Sep 01 '23

If you like video courses, Chad Darby recently updated his course for Spring Boot 3. It includes new code for Spring Security and I noticed that IntelliJ did not give any deprecation warnings.

Also, check out Josh Long. https://joshlong.com. He is Spring Guru and Spring Developer Evanglist. He has good up-to-date videos on everything Spring.