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

2

u/Lost_D4L Jul 26 '23

I felt that man, I suggest as u/smokemonstr said official docs but also this blog https://www.bezkoder.com/spring-boot-jwt-authentication/, last updated was on this June.