How to Secure Spring Rest API in Spring Boot 3 | Spring Boot 3 Security Configuration

preview_player
Показать описание
How to secure spring rest API the modern way with Spring Boot 3 component-based configuration.

Get the project start-up code :

Get the complete project source code :

Рекомендации по теме
Комментарии
Автор

Thanks for explaining new security changes. Could you also explain how to swagger on top of these changes.

bhanubill
Автор

It would be great, if you make a video with role based security. Kind of we have users table, roles table and linked table users_role. How we will connect them all in security? 🙏

katekomlevaJD
Автор

Awesome video slow and calm presentation of content.... Understood every bite of the flow... Thank u so much....❤

vishnupr
Автор

Sir, there are 4 branches so which one is the beginner project at 01:01 ?

DhaneshProgrammer
Автор

I have been looking for this for a while. Thank you

dennismasinde
Автор

The trick of all this was securityFilterChain method which you _just_ typed, hardly explained anything ?! Do you think it was OK like that ??

geosystems
Автор

Can you make a video when you add a controller to project from which the user can signup and authenticate ?

JavaJourneys
Автор

Sir pls tell me how i Remove all deprecated method 😢

soumyamondal
Автор

hello sir, deeply appriciateed your efforts and one request to you please make an extention video of this role based user which will be : how to give customize permissions to them : for example a 2 user of same cetagory has same role but we want user one to have one additional permission how to do that plese make a video on that

priyanshuthakur
Автор

did you make a video for "the project start-up code " ?, please let me know as soon as possible

SalahAbdelhaq-yf
Автор

my problem is with securefilterchain. When i set anyrequest permit all. It works. When i amtrying to set specifc request matchers it doesn't work. Always getting 401

racot
Автор

thank you for this video! it would be nice if you make another tutorial implementing JWT for authentication!

KromedesShooter
Автор

Sir pls check your code on the service layer in delete book

soumyamondal
Автор

any specific reason for not using Constructor injection in LibraryUserDetailsService class?
just need to understand the concept which call we prefer to do constructor injection and which class we can't we do that

shubhamsingla
Автор

A nice content was brought up. My major concern and I will love to get a response to is, can we send exception messages so that we tell the user what he's doing wrong for not being able to access resources rather than just sending the status code? This will be so much appreciated.

Monsaw
Автор

thank you bro for you efforts that you put, but I want to mention one thing. To create role as a string I do't think it is a good idea. Generally when you want to create role you have to create a set of role like this private Set<Role> roles;

aliksargsyan
Автор

Sir i am facing issues in the coding time not completed project, it is the start up project

soumyamondal
Автор

can anyone here help me . After doing everything the tables are not getting created automatically, my endpoints not working, throwing 404 error . i checked how to solve it but it is not working . plz help

mantusubudhi
Автор

Getting error : Encoded password does not look like BCrypt

AmitChoudhary-dwgl
Автор

bro you done a great job thank you so much !! really thanks a lot

arjunshaji