Implement JWT Authentication with Java & SpringBoot in 2023
Implement JWT Authentication with Java & SpringBoot in 2023, available at $54.99, has an average rating of 4.05, with 52 lectures, based on 136 reviews, and has 19236 subscribers.
You will learn about 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 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 This course is ideal for individuals who are Anyone who wants to learn about securing API's at an industry grade standard It is particularly useful for Anyone who wants to learn about securing API's at an industry grade standard.
Enroll now: Implement JWT Authentication with Java & SpringBoot in 2023
Summary
Title: Implement JWT Authentication with Java & SpringBoot in 2023
Price: $54.99
Average Rating: 4.05
Number of Lectures: 52
Number of Published Lectures: 52
Number of Curriculum Items: 52
Number of Published Curriculum Objects: 52
Original Price: $39.99
Quality Status: approved
Status: Live
What You Will 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 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
Who Should Attend
- Anyone who wants to learn about securing API's at an industry grade standard
Target Audiences
- Anyone who wants to learn about securing API's at an industry grade standard
This course has been updated in 2023 as per new Spring Security Features and JWT Specification to implement Role Based Authentication & Authorization of any SpringBoot based Application.
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
Course Curriculum
Chapter 1: NEW: Basics of JWT, Authentication, Authorization
Lecture 1: Everything about JWT, Authentication, Authorization
Lecture 2: About your Instructor
Lecture 3: JWT use case, Springboot setup, Github setup
Chapter 2: NEW: SpringBoot Project Setup with JWT
Lecture 1: Generate Springboot App
Lecture 2: Adding JWT Maven Dependency
Lecture 3: H2 DB Configuration for Local Profile
Chapter 3: NEW: Creating Entities, Relationships & Repository
Lecture 1: Creating Enum for Roles
Lecture 2: Creating Role Entity Class
Lecture 3: Creating User entity and Many to Many Roles
Lecture 4: Creating Role Repository with Custom JPA Queries
Lecture 5: Creating User Repository with Custom JPA Queries
Chapter 4: NEW: Implementing UserDetail Service & JWT Util to generate Token
Lecture 1: Implementing UserDetailsImpl
Lecture 2: Implementing UserDetails Service
Lecture 3: JwtUtil generate token implementation
Lecture 4: JwtUtil get username from valid Jwt Token
Lecture 5: JwtUtil validate jwt token
Chapter 5: NEW: Implementing Authentication & Authorization
Lecture 1: Implementing CORS Configuration
Lecture 2: Creating Different DTO classes for the application
Lecture 3: Implementing Unauthorized access error handling
Lecture 4: Implementing Authentication Token Filter-Part-1
Lecture 5: Implementing Authentication Token Filter-Part-2
Lecture 6: Implementing Security Configuration
Lecture 7: Implementing Security – Whitelisting configuration
Chapter 6: NEW: Implementing Login & Signup Functionality
Lecture 1: Implementing the Signup Logic Controller Layer
Lecture 2: Central Error Handling with AOP
Lecture 3: Implementing the Signup Logic in Service Layer
Lecture 4: Implementing the Login Logic in Service Layer
Lecture 5: Implementing the Login Logic in Controller Layer
Chapter 7: NEW: Adding Roles & Testing Authentication and Authorization
Lecture 1: Add new roles on application startup
Lecture 2: Testing the Role Addition on Server Startup
Lecture 3: Testing the Signup functionality
Lecture 4: Testing the Login functionality for different users with different roles
Lecture 5: Testing Authenticated and Unauthenticated Routes or Endpoints
Lecture 6: Implementing and testing Role Based Authorization
Chapter 8: NEW: Source Code
Lecture 1: Code
Chapter 9: Old: Overview and SpringBoot Project and Git setup
Lecture 1: Configuration for JWT and Spring security Implementation
Chapter 10: Old: JWT Config, UserDetailsService, AuthenticationFilter, Postman Testing
Lecture 1: JWTConfig, UserDetailsService, AuthenticationManagerBuilder Implementation
Lecture 2: JWTConfig, UserDetailsService, HttpSecurity Implementation
Lecture 3: JWT Util Implementation
Lecture 4: JwtController, JwtRequest, JwtResponse Implementation
Lecture 5: JwtAuthenticationFilter Implementation
Chapter 11: Old: Testing secured API with token and Git push
Lecture 1: Testing API Endpoints with Postman
Lecture 2: Git Commit Push to Github
Chapter 12: Old: Database, Entity, Login, Register, Testing
Lecture 1: Database-Setup-Entity-Creation
Lecture 2: ManyToMany-Relationship
Lecture 3: RoleRepository-RoleModel-UserDetails
Lecture 4: User-Register-Login-Jwt-Configuration
Lecture 5: Testing-APIs-Security-CurrentUser
Chapter 13: Old: TokenExpiry, Restrict-API-with-Role-Authority
Lecture 1: Saving-Getting-Role-Authority
Lecture 2: JWT-Token-Expiration
Lecture 3: Restrict-API-with-Role-Authority
Chapter 14: Old: Source code
Lecture 1: Github link to source code
Instructors
-
Ranjan Pandey
Software Professional with 14+ years of experience in IT
Rating Distribution
- 1 stars: 5 votes
- 2 stars: 4 votes
- 3 stars: 15 votes
- 4 stars: 31 votes
- 5 stars: 81 votes
Frequently Asked Questions
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!
You may also like
- Top 10 Video Editing Courses to Learn in November 2024
- Top 10 Music Production Courses to Learn in November 2024
- Top 10 Animation Courses to Learn in November 2024
- Top 10 Digital Illustration Courses to Learn in November 2024
- Top 10 Renewable Energy Courses to Learn in November 2024
- Top 10 Sustainable Living Courses to Learn in November 2024
- Top 10 Ethical AI Courses to Learn in November 2024
- Top 10 Cybersecurity Fundamentals Courses to Learn in November 2024
- Top 10 Smart Home Technology Courses to Learn in November 2024
- Top 10 Holistic Health Courses to Learn in November 2024
- Top 10 Nutrition And Diet Planning Courses to Learn in November 2024
- Top 10 Yoga Instruction Courses to Learn in November 2024
- Top 10 Stress Management Courses to Learn in November 2024
- Top 10 Mindfulness Meditation Courses to Learn in November 2024
- Top 10 Life Coaching Courses to Learn in November 2024
- Top 10 Career Development Courses to Learn in November 2024
- Top 10 Relationship Building Courses to Learn in November 2024
- Top 10 Parenting Skills Courses to Learn in November 2024
- Top 10 Home Improvement Courses to Learn in November 2024
- Top 10 Gardening Courses to Learn in November 2024