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/[deleted] Jul 25 '23

Check out Den Vega on YouTube he is a spring developer advocate if I have it right in mind and he has a great playlist on what changed on spring boot 3.

And do not worry the concepts are mainly still the same so it is no like what you watched is completely worthless.

It just take time until you have a picture on how some things work.

You can also watch amigoscode he also has a nice tutorial for spring boot 3 and spring security 6

And he also has a “short” video on how the different components for spring security works.

And like mentioned above the official docs are also a possible knowledge source, but I myself prefer to watch some things first and get a little bit of a feeling on how things work and then read the docs to put everything together, but the spring docs looks a lot better now then before :)

2

u/ConsoleAppender Jul 25 '23

Great guy, i follow him on Twitter