JWT Filter vs UserDetailsService: أي واحد تستخدم أولاً؟

In this lesson, we will learn: Basic annotations such as @Configuration and @EnableWebSecurity. The main filter (SecurityFilterChain) and configuring CORS and CSRF settings, and making sessions stateless. User management via UserDetailsService and the difference between InMemory and production status with the database. Password encryption using PasswordEncoder and BCryptPasswordEncoder. CorsConfigurationSource settings to allow the frontend (React/Angular) to connect to the server. 📌 Video Timelines (Timestamps): 00:00 - Introduction: What is the SecurityConfig class? 00:45 - Basic annotations above the Security class. 01:30 - Explanation of SecurityFilterChain and the main filtering gateway. 02:15 - CORS, CSRF, and Stateless Session settings for JWT. 03:15 - Understanding UserDetailsService (In-Memory vs. Production). 04:00 - Password encryption using PasswordEncoder and BCrypt. 04:45 - Troubleshooting CORS issues using CorsConfigurationSource. 05:15 - Next step: When to use JWT Filter? Spring Security, Spring Boot Security, SecurityConfig Spring Boot, SecurityFilterChain Spring Boot, UserDetailsService Spring Boot, PasswordEncoder BCrypt, CORS Java Spring Boot, CSRF Spring Security, Java Backend Developer, Spring Security Tutorial in Arabic, Spring Boot Course, Java Backend Programming, Beans in Spring, JWT Spring Security, Configuration EnableWebSecurity, Learn Security in Spring Learn how to secure your backend using Spring Security by professionally configuring SecurityConfig. You'll get a practical application covering CORS and CSRF disabling. This tutorial covers the steps to configure backend security for your applications and is aimed at developers who want to adjust basic security settings. You'll learn how to define authorization rules for endpoints, manage sessions, and configure basic authentication to ensure better protection for your project. Additionally, the video demonstrates how to build a user list and properly encrypt passwords within the system. By following these steps, you'll understand how Spring Security effectively manages access permissions and secures sensitive data. Subscribe to the channel for weekly software tutorials, and let us know in the comments what technical topic you'd like us to cover in the next video.

لو بدأت الأمن السيبراني من الصفر اليوم... شو كنت رح أعمل؟
▶︎

لو بدأت الأمن السيبراني من الصفر اليوم... شو كنت رح أعمل؟

وظف جيشاً من الذكاء الاصطناعي مجانا! شرح N8N AI Agents
▶︎

وظف جيشاً من الذكاء الاصطناعي مجانا! شرح N8N AI Agents

Build a School Savings App from Scratch using Google Apps Script
▶︎

Build a School Savings App from Scratch using Google Apps Script

TypeScript in Express – TypeScript Tutorial
▶︎

TypeScript in Express – TypeScript Tutorial

كيف تشغّل شركة بموظف واحد + فريق وكلاء بـ Claude Code
▶︎

كيف تشغّل شركة بموظف واحد + فريق وكلاء بـ Claude Code

I Tried Coding my own Graphics Library
▶︎

I Tried Coding my own Graphics Library

Lambda Expressions to Build Your Own DSL in Java
▶︎

Lambda Expressions to Build Your Own DSL in Java

🎓 هل تفكر في دراسة العلوم الاقتصادية والتجارية وعلوم التسيير؟ | الدليل الكامل لحاملي بكالوريا 2026
▶︎

🎓 هل تفكر في دراسة العلوم الاقتصادية والتجارية وعلوم التسيير؟ | الدليل الكامل لحاملي بكالوريا 2026

كيف غيرت ال containers بناء البرمجيات عالميا | كورس دوكر | Docker - Containers - Images - Volumes
▶︎

كيف غيرت ال containers بناء البرمجيات عالميا | كورس دوكر | Docker - Containers - Images - Volumes

المقابلة مع الرئيس السوري أحمد الشرع | كواليس التفاهم مع ترمب ومصير القواعد الروسية وسلاح حزب الله
▶︎

المقابلة مع الرئيس السوري أحمد الشرع | كواليس التفاهم مع ترمب ومصير القواعد الروسية وسلاح حزب الله

Is This Wish Meant to Be Fulfilled? 🧚🤲 Detailed Pick a Card Tarot Reading ✫・
▶︎

Is This Wish Meant to Be Fulfilled? 🧚🤲 Detailed Pick a Card Tarot Reading ✫・

Complete Tractor Engine Rebuild From Scratch | Full Restoration Process
▶︎

Complete Tractor Engine Rebuild From Scratch | Full Restoration Process

7 Authentication Concepts Every Developer Should Know
▶︎

7 Authentication Concepts Every Developer Should Know

After an Hour and a Half of Debate: A Saudi TikToker and Sheikh Zain Khairallah.. What Happened i...
▶︎

After an Hour and a Half of Debate: A Saudi TikToker and Sheikh Zain Khairallah.. What Happened i...

Surah Yasin (Yaseen) Full | سورۃ یس ☘️ Surah Yasin Full | Best Quran | Recitation | Episode 0028
▶︎

Surah Yasin (Yaseen) Full | سورۃ یس ☘️ Surah Yasin Full | Best Quran | Recitation | Episode 0028

Tibetan Healing Sounds  for Mind, Body & Soul | Relaxation, Sleep & Inner Peace
▶︎

Tibetan Healing Sounds for Mind, Body & Soul | Relaxation, Sleep & Inner Peace

Wordpress Exploit Situation is Absolutely Insane
▶︎

Wordpress Exploit Situation is Absolutely Insane

دليلك الشامل لتعلم كلود للمبتدئين 2026 | Claude For Beginners (Arabic Guide)
▶︎

دليلك الشامل لتعلم كلود للمبتدئين 2026 | Claude For Beginners (Arabic Guide)

يعني إيه GitHub وإزاي يسهل حياتك كمبرمج؟
▶︎

يعني إيه GitHub وإزاي يسهل حياتك كمبرمج؟

ازاي ساعتين برمجة في اليوم غيروا حياتي
▶︎

ازاي ساعتين برمجة في اليوم غيروا حياتي