Spring boot 3 & Spring security 6 - Roles and Permissions Based Authorization Explained!

preview_player
Показать описание

🎁 🚀 COUPON Code: EARLYBIRD20

Don't Forget to
===========================================
💯 Subscribe to the youtube channel

00:00 Introduction to Spring Security
01:29 Understanding Roles and Permissions
03:50 Add Admin and Manager resources (Endpoints)
06:46 Create roles and permissions
16:38 Configuration-based Authorization using Request Matchers
22:08 Insert users at application startup
26:11 Test the configuration based Authorization
32:12 Annotation-based Authorization using @PreAuthorize
37:09 Test the annotation based Authorization
38:39 Choose the right authorization approach for your use case
42:29 Outro

By the end of this tutorial, you'll be able to:
✅ Implement role-based and permissions-based authorization in your Spring Boot applications.
✅ Choose the right authorization approach for your use case.
✅ Secure your application using annotations and configuration-based authorization.
✅ Create custom permission evaluators and leverage Spring Expression Language (SpEL) for complex security rules.

📚 Resources and Code Examples:

Don't forget to 👍 like, 💬 comment, and 🔔 subscribe to stay updated with the latest content on Spring Boot and Java development!

🔎 Tags:
#SpringSecurity #SpringBoot #RolesAndPermissions #Authorization #Java #SpringFramework #WebDevelopment #Tutorial #microservices #microservicestutorial #springframework
#cicd #spring #learning #springboot #springtutorial #springsecurity #developpement #java #aliboucoding #alibou #springboot_3
Рекомендации по теме
Комментарии
Автор

Join the Micro Services course waiting list and get and get an exclusive *EARLY-BIRD discount*

BoualiAli
Автор

After watching a lot of videos, I can say you are the best one who explains it very smoothly and clearly 🤩 Thank you Alibou for your hard efforts 🙏

maryamalsulaiman
Автор

Thank you so much, you are making the life easier.

KhalilChargui-jmfj
Автор

I have been waiting for this video for a long time. Thank you ❤

grarimohamed
Автор

congratulations, your videos are much more informative than many courses, a hug from brazil

marcellonazar
Автор

Jus occupied with some school work but once done I will follow. I love your content bro. God bless you

genusleemapedze
Автор

You have the outstanding tutorials, çok teşekkür ederim kardeşim

igris
Автор

Great tutorial, thanks very much. I was just searched role and permission based security

wgywtws
Автор

Maasha Allah, Wollah I'm just so so happy that I don't even know what to say.
Thank you so much Alibou, this is exactly one of the things I wa thinking to add to my app and Boom 💥 here is it.

Waiting for the Swagger docs 😁

Thank you so so much, JazaakAllahu khairan ❤

abu-dukhan
Автор

Thanks for this video Ali. A master class as always ❤‍🔥❤‍🔥❤‍🔥

alexkouasseu
Автор

thank you so much Alibou I learned a lot you are the best

javlonbek
Автор

thanks a lot Ali ! This was very helpful

khalilbouali
Автор

Really apreciate it! Super well explained.

GROOVETECHSETS
Автор

Great Job Brother, Tried watching different videos to get better understanding, but yours was too good. Also, Your debugging part was impressive, consider making a video on it too.

anurag-sachan
Автор

T'es vraiment trop trop fort, c'est incroyable

samuelstefancic
Автор

THANK YOU SO MUCH I VE SEEN YOU !! U R GREAT

bearsenseii
Автор

better clearance and better understanding, thx

t_oguz
Автор

Thank you Alibou for amazing contents! Please make a video about "Auditing entities in Spring boot".

ayyubxonrustamov
Автор

Great video and explanation. Personally i prefer the PreAuthorize annotation on methods - to have a grainer control for the endpoints. But as Ali mentioned - it depends on what you want to achieve and how it works for you.

AleksandarT
Автор

Thank you very much sir Ali ♥️, could you make us a video on the front-end using angular🙏.

abderrahmanebenbakka