filmov
tv
Implementing Token and Role Base Authentication Using Spring Boot + JWT+ MySQL
Показать описание
Let's understand, how to implement token and role base authentication mechanism using spring security, jwt and mysql database. In this session, we are going to build a real time application to perform jwt token and role based authentication mechanism.
In this session, I have discussed following points.
1. What is authentication and authorization in an application?
2. How to implement token and role base authentication
For the people looking for time lines in the tutorial:
0:00 App walkthrough
8:24 App flow and tools used
10:24 Project creation
17:21 Creating DB
22:50 Package structuring
24:13 Creating entity - Role
26:40 Creating RoleController
29:00 Creating RoleService
29:58 Creating RoleDao
41:56 Creating entity - User
48:54 Creating UserController
50:00 Creating UserService
50:51 Creating UserDao
58:03 init method for DB data
1:14:00 Creating forAdmin and forUser endpoint in UserController
1:18:53 Configuring Spring boot project to enable JWT and spring security
1:19:43 Global Cors configuration
1:24:42 Creating JwtAuthenticationEntryPoint class
1:27:05 Creating WebSecurityConfigurer class
1:46:52 Implementing JwtRequestFilter
1:52:04 Creating Utility to fetch from Jwt Token
2:18:23 Creating JwtController, JwtRequest and JwtResponse entity
2:45:41 Password encryption
2:51:57 Testing the application
Disclaimer - The music/audio used(if any) in this video is not a property of "Learn Programming Yourself". All credit goes to owners of respective music/audio. This music/audio is not prone to any "Copyright Strikes".
#springsecurity #jwt #authentication #authorization
------------------------------------------------------------------------------------------
Here're links to git repo
1. jwt-youtube (Spring Boot)
2. jwt-youtube-ui (Angular)
---------- Links to my other FREE courses. ----------
In this session, I have discussed following points.
1. What is authentication and authorization in an application?
2. How to implement token and role base authentication
For the people looking for time lines in the tutorial:
0:00 App walkthrough
8:24 App flow and tools used
10:24 Project creation
17:21 Creating DB
22:50 Package structuring
24:13 Creating entity - Role
26:40 Creating RoleController
29:00 Creating RoleService
29:58 Creating RoleDao
41:56 Creating entity - User
48:54 Creating UserController
50:00 Creating UserService
50:51 Creating UserDao
58:03 init method for DB data
1:14:00 Creating forAdmin and forUser endpoint in UserController
1:18:53 Configuring Spring boot project to enable JWT and spring security
1:19:43 Global Cors configuration
1:24:42 Creating JwtAuthenticationEntryPoint class
1:27:05 Creating WebSecurityConfigurer class
1:46:52 Implementing JwtRequestFilter
1:52:04 Creating Utility to fetch from Jwt Token
2:18:23 Creating JwtController, JwtRequest and JwtResponse entity
2:45:41 Password encryption
2:51:57 Testing the application
Disclaimer - The music/audio used(if any) in this video is not a property of "Learn Programming Yourself". All credit goes to owners of respective music/audio. This music/audio is not prone to any "Copyright Strikes".
#springsecurity #jwt #authentication #authorization
------------------------------------------------------------------------------------------
Here're links to git repo
1. jwt-youtube (Spring Boot)
2. jwt-youtube-ui (Angular)
---------- Links to my other FREE courses. ----------
Комментарии