Code - https://github.com/therealdumbprogram...
Playlist - • Spring Security
---------------------------------------------------------------------
In this video, we dive into the core concept of managing roles and permissions in Spring Security using the GrantedAuthority interface. Whether you are new to Spring Security or looking to strengthen your understanding of securing REST APIs, this tutorial will guide you step-by-step through:
1) What are GrantedAuthority and Authorities?
2) The difference between roles and permissions in Spring Security.
3) How to implement role-based and permission-based security using GrantedAuthority.
4) Practical examples of securing endpoints with specific roles and permissions.
5) Tips and best practices for managing authorities in a Spring Boot application.
By the end of this video, you'll have a solid understanding of how to effectively control access to your APIs using roles and granular permissions. Don't forget to like, subscribe, and hit the notification bell for more Spring Security tutorials!
00:00 Intro
00:53 Roles & Authorities
3:24 User/Roles/Authorities
4:37 Usecase
6:00 GrantedAuthority
8:52 Data Model
10:23 Code Walkthrough
21:07 Adding Users
24:07 Implementing Roles
27:01 Implementing Authorities
29:30 Testing the Project
33:14 Enriching Roles and Authorities
-----------------------------------------------------------------
#springboot #springsecurity #security #java #programming #coding #https
In questa pagina del sito puoi guardare il video online SECURE Your App with Roles and Permissions in Spring Security! della durata di ore minuti seconda in buona qualità , che l'utente ha caricato TheCodeAlchemist 14 ottobre 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 3,413 volte e gli è piaciuto 54 spettatori. Buona visione!