Back to Browse

Complete Spring Security & JWT tutorial [2024]

3.9K views
Jun 7, 2024
1:48:09

In this complete spring security video tutorial we'll learn implement proper authorization and authentication logic for our springboot applications using spring security and Jwts following the updated standard. The major key concept we take a look at is how to provide proper configuration for authorization and authentication in a spring boot application. The complete project can be found in the github repository using the link below "https://github.com/iocods/iocode-jwt-spring-security" but at first to get started with the tutorial and project you'll either have to create a simple entity endpoint application or you clone the start branch of the above github repository using the command below: "git clone -b start --single-branch https://github.com/iocods/iocode-jwt-spring-security.git" Link to a complete spring boot project video that covers the full development to deployment of a spring boot application is given below https://youtu.be/d-iLjxICiVw Timestamp have been defined so you can easily navigate to any part of the video. 00:00:00 - Overview and Introduction of the project 00:06:25 - Adding The Spring Security Dependency to Project 00:11:15 - Explanation Of The Spring Security Work flow 00:13:45 - Explaining what a Jwts are and how they are represented 00:20:30 - Defining User Entity For Project 00:31:20 - Defining Service Class and Filter Class for Jwt 00:45:55 - Creating Beans required for authentication 01:20:50 - Overriding Spring security default behaviour If you are making use of jjwt-api version 0.12.5 use this link https://youtu.be/KW5EwW1iPJE to watch the video where I've made the relevant updates and corrections to the project

Download

0 formats

No download links available.

Complete Spring Security & JWT tutorial [2024] | NatokHD