Cademy logoCademy Marketplace

Course Images

Practical Bootcamp JWT Authentication with Java and Spring Boot

Practical Bootcamp JWT Authentication with Java and Spring Boot

  • 30 Day Money Back Guarantee
  • Completion Certificate
  • 24/7 Technical Support

Highlights

  • On-Demand course

  • 4 hours 31 minutes

  • All levels

Description

Welcome to this practical hands-on bootcamp on JWT authentication. In this course, you will learn to build APIs using Java and Spring Boot followed by the process of securing them using JWT (JSON Web Token) and Spring security. Familiarize yourself with all the industry's best practices and standards along the way. All you need is your interest in learning about securing APIs at an industry-grade standard to get started.

JWT (JSON web token) is a standard for securing APIs in a Microservices architecture; using this standard, we can secure APIs' built-in technology such as Nodejs, Python, .NET, and so on. But in this course, we will build APIs using Java and Spring Boot and then we will be securing them using JWT and Spring security. We will cover important concepts such as authentication, authorization, the importance of securing RESTful APIs, JWT (Json Web Token), various components and terminology associated with JWT, Workflow, and a diagrammatic use case of using JWT. Along the course, you will learn to implement JWT in our Spring Boot project by creating a Spring Boot project from scratch. We will add the required Maven dependencies and learn to set up projects in GitHub and follow a continuous integration process. You will also learn to create our Hibernate entity classes and start configuring JWT and Spring security. Moving further, we will configure the allowed and not allowed endpoints and create user registration and login endpoints. We will understand how to create role-based classes and create multiple roles as well as restrict users to functionalities based on roles. By the end of the course, you will learn to create security-related classes such as configuration, filters, and services, and learn to use Postman to test our APIs. All resources and code files are placed here: https://github.com/PacktPublishing/Practical-Bootcamp-JWT-Authentication-with-Java-and-Spring-Boot

What You Will Learn

Learn basics of security such as authentication and authorization
Implement JWT with Spring Boot and Spring security
Create APIs that will talk to the database using Spring data JPA
Learn to protect your APIs based on user role
Learn to set up a Spring Boot project from scratch
Learn everything about JWT (JSON Web Token)

Audience

This course is for anyone who wants to learn about securing APIs at an industry-grade standard.

Approach

Learn different concepts of JWT with hands-on implementation of JWT in our Spring Boot project.

Key Features

Learn various components and terminology associated with JWT * Extract user information and role information from JWT * Create security-related classes such as configuration, filters, services

Github Repo

https://github.com/PacktPublishing/Practical-Bootcamp-JWT-Authentication-with-Java-and-Spring-Boot

About the Author

Ranjan Pandey

Ranjan Pandey is a full-stack DevOps software professional with over 11 years of experience in a variety of technologies ranging from web and mobile application development using HTML5, CSS3, JavaScript, jQuery, Bootstrap, Angular, React, Java, Spring, Spring Boot, Python, Flask, Django, NodeJS, Express, Android, Ionic, React Native, Flutter to artificial intelligence and cloud technologies such as Amazon Web Services and Microsoft Azure. He is a certified professional in Java, Azure Cloud, and Backbase products and has experience working with multiple MNCs and European clients. He is also a corporate trainer providing a wide range of training.

Course Outline

1. Basics of JWT, Authentication, Authorization


2. Overview and SpringBoot Project and Git setup


3. JWT Config, UserDetailsService, AuthenticationFilter, Postman Testing


4. Testing secured API with token and Git push


5. Database, Entity, Login, Register, Testing


6. TokenExpiry, Restrict-API-with-Role-Authority

Course Content

  1. Practical Bootcamp JWT Authentication with Java and Spring Boot

About The Provider

Packt
Packt
Birmingham
Founded in 2004 in Birmingham, UK, Packt’s mission is to help the world put software to work in new ways, through the delivery of effective learning and i...
Read more about Packt

Tags

Reviews