Spring Boot Security in Tamil: JWT, In-Memory & DB Authentication

In this detailed Spring Boot Security tutorial, we walk you through the process of securing your Spring Boot application. Learn how to configure Spring Security, protect URLs, implement user authentication with both in-memory and database-backed users, and integrate *JWT (JSON Web Tokens)* for secure, token-based authentication. 📌 *Key Topics Covered:* Introduction to *Spring Security* and why it's essential for your app How to set up *Security Configuration* in Spring Boot Protecting and allowing URL access with Spring Security Authenticating users with *In-Memory Authentication* and testing login credentials Setting up *Database Authentication* with password encoding Creating a *Custom User Details Service* for handling user data Implementing **JWT Authentication**: Token generation, validation, and testing Protecting your API with JWT tokens and validating user access By the end of this tutorial, you'll have a solid understanding of how to secure your Spring Boot application using *Spring Security* and **JWT Authentication**. Perfect for developers looking to level up their security skills! 🔗 *Timestamps:* 00:00 Intro 03:12 Using Spring Security 04:09 What we need Security? 08:06 Creating Security Configuration 12:28 Protecting & Allowing URL Accessing 20:03 What is Bean? 22:49 Enable Default Login Page 24:45 Login with In-Memory Users 25:18 Implementing In-Memory Users Process 35:24 Testing with In-Memory users Credentials for Login 38:04 Redirect to Dashboard Home After Login 44:04 Login with Database User Credentials 45:41 Remove Authentication for Create User API 50:55 Creating Username & Password fields for DB user 54:13 Password Encoding 57:17 Creating Custom User Details Service 57:31 Implementing DB User Login Process 01:14:16 Testing DB user Credentials for Login 01:17:45 JWT Authentication 01:18:24 Adding JWT Dependencies 01:20"30 Generate JWT Token 01:20:51 How Generating JWT Token Works? 01:22:29 Implementing JWT Token Generation 01:30:17 Creating Login API 01:44:50 Testing Login API for getting JWT Token 01:45:59 Authenticating Users with JWT Token 01:46:17 How JWT Token Validate works? 01:52:01 Implementing JWT Token Validation 02:13:28 Testing JWT Token with Protected API 02:20:25 conclusion 📂 *Resources:* Spring Boot Beginners Video :    • Spring Boot Crash Course in Tamil : Create...   GitHub Repository Links: https://github.com/jvlcode/spring-boo... https://github.com/jvlcode/spring-boo... 🔔 *Don't forget to subscribe and hit the bell icon* for more Spring Boot tutorials and updates! #SpringBoot #SpringSecurity #JWT #Authentication #SpringBootTutorial #WebDevelopment #SecureAPI #InMemoryAuthentication #DatabaseAuthentication #SpringSecurityTutorial #Java #BackendDevelopment #SecureApp --- This description is optimized for SEO and tailored for YouTube, ensuring it ranks for relevant search queries and engages viewers. 🤝 *Donate & Help this Channel:* UPI: 9444914384@okbizaxis PayPal: https://paypal.me/jvlogesh Buy me Kofi : https://ko-fi.com/jvlcode 🌐 *Join Udemy Courses* React Developer Course: https://udemy.com/course/react-develo... Angular Course: https://www.udemy.com/course/angular-... 📧 *Contact Information:* 📬 Email: [email protected] 🔗 LinkedIn:   / jvl-code   📷 Instagram:   / jvlcode   📱 Whatsapp: https://whatsapp.com/channel/0029VaCu... 📘 Facebook:   / jvlcode   🌐 Website: https://www.jvlcode.com 🔔 For business inquiries or collaborations, please use the provided contact information. Thank you for your support! Don't forget to like, share, and subscribe for more content! 🔔

Json Web Token (JWT) Explained from Scratch | Spring Security 6
▶︎

Json Web Token (JWT) Explained from Scratch | Spring Security 6

Spring Security 6 with Spring Boot and JWT Tutorial
▶︎

Spring Security 6 with Spring Boot and JWT Tutorial

Spring Boot Episode 10 🚀 | JWT Authentication (Generate & Validate Tokens)
▶︎

Spring Boot Episode 10 🚀 | JWT Authentication (Generate & Validate Tokens)

Spring Boot REST API for Beginners | Build a Basic E-Commerce Project
▶︎

Spring Boot REST API for Beginners | Build a Basic E-Commerce Project

Angular Dependency Injection Crash Course in Tamil | Master DI, Services & Providers (Angular 20)
▶︎

Angular Dependency Injection Crash Course in Tamil | Master DI, Services & Providers (Angular 20)

What is CI/CD Pipeline? | Jenkins Tutorial for Beginners in One Video
▶︎

What is CI/CD Pipeline? | Jenkins Tutorial for Beginners in One Video

Spring Boot 3 + Spring Security 6 - JWT Authentication and Authorisation [NEW] [2023]
▶︎

Spring Boot 3 + Spring Security 6 - JWT Authentication and Authorisation [NEW] [2023]

React Tutorial For Beginners [ReactJS] | ReactJS Course | ReactJS For Beginners | Intellipaat
▶︎

React Tutorial For Beginners [ReactJS] | ReactJS Course | ReactJS For Beginners | Intellipaat

Microservices Security Using JWT | Spring Cloud  Gateway | JavaTechie
▶︎

Microservices Security Using JWT | Spring Cloud Gateway | JavaTechie

#35 What is JWT and Why
▶︎

#35 What is JWT and Why

System Design Explained: APIs, Databases, Caching, CDNs, Load Balancing & Production Infra
▶︎

System Design Explained: APIs, Databases, Caching, CDNs, Load Balancing & Production Infra

Spring Boot Tutorial for Beginners - Crash Course using Spring Boot 3
▶︎

Spring Boot Tutorial for Beginners - Crash Course using Spring Boot 3

What is SonarQube | Introduction SonarQube | SonarQube Tutorial | SonarQube Basics | Intellipaat
▶︎

What is SonarQube | Introduction SonarQube | SonarQube Tutorial | SonarQube Basics | Intellipaat

Spring Boot with Angular Course | Full-Stack Project in Tamil
▶︎

Spring Boot with Angular Course | Full-Stack Project in Tamil

Spring Boot and Spring Security with JWT including Access and Refresh Tokens 🔑
▶︎

Spring Boot and Spring Security with JWT including Access and Refresh Tokens 🔑

Free Event: Power BI Beginner to Pro 2026 Edition - Full Hands-On Tutorial
▶︎

Free Event: Power BI Beginner to Pro 2026 Edition - Full Hands-On Tutorial

Master Spring Security In One Shot 2026 🔐 (JWT + OAuth2 + Authorization, Roles & More) 🚀
▶︎

Master Spring Security In One Shot 2026 🔐 (JWT + OAuth2 + Authorization, Roles & More) 🚀

JWT (Json Web Token) Session-1 | by Mr. Raghu
▶︎

JWT (Json Web Token) Session-1 | by Mr. Raghu

AWS Crash Course in Tamil : EC2 & S3 Fundamentals Explained in 1 Hour
▶︎

AWS Crash Course in Tamil : EC2 & S3 Fundamentals Explained in 1 Hour

Web Scraping Using Python For Beginners and File Handling in Python | Python Web Scraping
▶︎

Web Scraping Using Python For Beginners and File Handling in Python | Python Web Scraping