Practical Bootcamp JWT Authentication with Java & SpringBoot

Learn to secure your SpringBoot based Microservice and RESTful API's using JWT Authentication & Authorization



Platform: Udemy
Status: Available
Duration: 4.5 Hours

Price: $89.99 $0.00


Note: Udemy FREE coupon codes are valid for maximum 3 days only. Look for "Get Coupon" orange button at the end of Description. This post may have affiliate link & we may get small commission if you make a purchase.

Notice for Our Visitors in INDIA:
If Udemy Coupon is 100% OFF but it is not FREE when you go to Udemy Website, please follow the below instructions to make it work. This is mainly affecting visitors that has INDIA as a Country of Residence in their profile in Udemy.

Steps:
1. Use VPN (Virtual Private Network) & Select Another Country like USA.
2. Clear udemy.com website cookies from your browser or You can also use incognito mode or different browser like Opera which has inbuilt VPN.
3. After making a VPN Connection, Create a new Udemy Account.
4. Then go to your desired Course Page & Apply Coupon.
5. If the Coupon is successfully applied, then Continue the process & Enter the VPN Country.
6. Enjoy your Free Course!

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 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
  • Basic knowledge of Java
  • Basic knowledge SpringBoot

Description

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

Complete source code

Who this course is for:

  • Anyone who wants to learn about securing API's at an industry grade standard