0(0)

Practical Bootcamp JWT Authentication with Java & SpringBoot

  • Categories Video Courses
  • Total Enrolled 9
  • Last Update April 2, 2022

Description

About Your Instructor

Dear Student,

I am super excited to have you in this course, let’s learn and grow together.

I have 11 years and 8 months of experience working in the IT industry with many International projects/ clients in tons of technology stacks. I have put all my experience into this course to make you successful in 2022.

Check my LinkedIn Profile

Check out Q&A and Career Guidance Facebook Group

Happy Learning!

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

What Will I 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

Topics for this course

19 Lessons

Section 1: Basics of JWT, Authentication, Authorization

Lecture 1: Everything about JWT, Authentication, Authorization00:5:48

Section 2: Overview and SpringBoot Project and Git setup

Section 3: JWT Config, UserDetailsService, AuthenticationFilter, Postman Testing

Section 4: Testing secured API with token and Git push

Section 5: Database, Entity, Login, Register, Testing

Section 6: TokenExpiry, Restrict-API-with-Role-Authority

Section 7: Source code

$3.99

Requirements

  • Basic knowledge of Java
  • Basic knowledge SpringBoot

Target Audience

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