Course Information
Course Overview
UPDATED-2025 - Learn to secure your SpringBoot based RESTful API's using Role Based JWT Authentication & Authorization
This course has been updated in 2025 as per new Spring Security Features and JWT Specification to implement Role Based Authentication & Authorization of any SpringBoot based Application.
Develop CRUD API and secure it with JWT
JWT(Json web token) is a standard for securing API's in a Microservices architecture, using this standard we can secure API's built in any technology like Nodejs, Python, .NET etc but in this course we will building API's using Java and SpringBoot and than we will be securing them using JWT and Spring security, we will also use all the industry best practices and standards along the way.
We will start with learning concepts like:
What is Authentication
What is Authorization
Importance of securing RESTful API's
What is JWT(Json Web Token)
Various components and terminology associated with JWT
Workflow and a diagramatic use case of using JWT
Than we will move on to the actual handson and implementation of JWT in our Springboot project by following below steps:
Create springboot project from scratch
Adding required maven dependencies
Setup project in Github and follow continous integration process
Setting up database and establishing connection
Create our Hibernate entity classes
Create our controller class
Create the first API
Start configuring JWT and Spring security
Create security related classes like configuartion, filters, service
Making the secret and expiration time configurable
Configuring the allowed and not allowed endpoints
Creating user registration and login endpoints
Creating Role based classes
Create multiple roles
Restrict users to functionalities based on Roles
Setting up github to push code with token
Creating a JWT token
Using the JWT token to call a secured API
Using Postman to test our API's
Mechanism to check if a particular JWT token is valid or not
Extracting user information and role information from JWT token
Develop CRUD API and secure it with JWT
Complete source code
Course Content
- 3 section(s)
- 47 lecture(s)
- Section 1 NEW: Springboot 3.3.5 with JWT Authentication & Authorization
- Section 2 Designing a Real World Multi Role Based Application
- Section 3 CRUD Operation with Role Based Authentication & Authorization
What You’ll Learn
- You will learn basics of security like Authentication and Authorization
- You will learn everything about JWT(JSON Web Token)
- You will learn to Implement JWT with SpringBoot and Spring Security
- You will learn to Develop CRUD API and secure it with JWT
- You will learn to Implement Role Based Authentication & Authorization with JWT & Spring Security
- You will learn to setup a SpringBoot project from scratch
- You will learn to create API's which will talk to Database using Spring Data JPA
- You will learn to protect your API's based on user role
- You will get the complete source code
Skills covered in this course
Reviews
-
AAnvesh
Course needs to be updated, some of the packages are not mentioned and the Q&A is also locked unable to post or see other users Q&A to help with the lectures.
-
DDaniel Laible
Although it says Upgraded to a newer standard, the teacher did not use the latest version where a lot has changed. It took me quite a while to get his demo code running. Maybe I was faster with this example, however the amount of YT videos I had to watch and tutorials I had to read I am not so sure about it. TLDR: The Tutorial is outdated.
-
JJoseph R Stockman
This is garbage. It explicitly states for 2023 yet is trying to leverage Java 11, Spring Boot prior to 3.x, and JWT packages that are no longer even available for Maven. I'm going to test that 30 day refund policy immediately.
-
HHasan KÜÇÜK
güzel bir kurs gelişimime faydalı oluyor