Spring Security Tutorial - [NEW] [2023]

Become the software engineer AI can't replace. 😳 👉 Join Amigoscode Academy: https://skool.com/amigoscode-academy Members hired at Apple, Amazon & Just Eat. Spring Security is a powerful and popular framework for securing Java applications. In this video, we'll show you how to get started with Spring Security, by creating a simple authentication system using basic auth and JWT. 👉🏿 Subscribe to ‪@boualiali‬ channel -    / @boualiali   Don't Forget to =========================================== 💯 Subscribe to Amigoscode - http://bit.ly/2HpF5V8 💯 Courses Available for free here - https://amigoscode.com/courses 💯 Join Private Facebook Group and Discord - https://amigoscode.com/p/join-community ⭐ Table Of Contents ⭐ =========================================== 00:00 - Intro 01:34 - Guest Course Intro 03:15 - Nelson Course Intro 04:08 - Bootstrap app 06:03 - Create API 10:23 - Install Spring Security 14:33 - Explain form login 16:37 - Explain basic authentication 18:22 - Implement basic authentication 22:07 - Implement basic authentication 25:49 - Explain JWT authentication 31:10 - Implement JWT authentication filter 45:34 - Implement JWT utils class and finalise the filter 51:16 - Tell Spring to use the JWT filter 53:54 - Implement userDetailsService 01:00:46 - Add the authenticationProvider bean 01:05:56 - Add session management creation policy 01:07:38 - Implement Authentication controller 01:16:32 - Improve the code 01:20:44 - Testing the application 01:29:48 - Outro #springsecurity #springboot #oauth2 🙊 Here are the goods for all my videos video 🙊 ► Recommended Books =========================================== Clean Code - https://amzn.to/2UGDPlX HTTP: The Definitive Guide - https://amzn.to/2JDVi8s Clean Architecture - https://amzn.to/2xOBNXW ► Computer and Monitor =========================================== New Apple MacBook Pro - https://amzn.to/3464Mmn Dell 27 INCH Ultrasharp U2719D Monitor - https://amzn.to/2xM3nW1 Double Arm Stand Desk Mount - https://amzn.to/3aYKKfs USB C Hub Multiport Adapter - https://amzn.to/2Jz7NlL ► Camera Gear ============================================= Sony ILCE7M3B Full Frame Mirrorless Camera - https://amzn.to/346QIJn Sigma 16 mm F1.4 DC DN - https://amzn.to/2wbic3Q Sigma 33B965 30 mm F1.4 DC DC - https://amzn.to/39G37Fd ► IDE & Tools I use for coding 💻 🎒 =========================================== ITerm VsCode GoLand IntelliJ Ultimate Sublime P.S =========================================== 💯 Don't forget to subscribe | http://bit.ly/2HpF5V8 💯 Join Private Facebook Group and Discord - https://amigoscode.com/p/join-community 💯 Follow me on Instagram | http://bit.ly/2TSkA9w ❤️ Thanks for watching #springsecurity #springboot #amigoscode

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

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

Jfrog | Jfrog Artifactory | Jfrog Artifactory Tutorial | Artifactory Tutorial | Intellipaat
▶︎

Jfrog | Jfrog Artifactory | Jfrog Artifactory Tutorial | Artifactory Tutorial | Intellipaat

The PROBLEM with Capitalism - Smarter Every Day 316
▶︎

The PROBLEM with Capitalism - Smarter Every Day 316

Full Archon Guide - Build AI Coding Harnesses That Actually Ship (LIVE)
▶︎

Full Archon Guide - Build AI Coding Harnesses That Actually Ship (LIVE)

Automate Viral LinkedIn Posts with AI Research + Infographics using n8n
▶︎

Automate Viral LinkedIn Posts with AI Research + Infographics using n8n

Spring Security | FULL COURSE
▶︎

Spring Security | FULL COURSE

How to Start Coding | Programming for Beginners | Learn Coding | Intellipaat
▶︎

How to Start Coding | Programming for Beginners | Learn Coding | Intellipaat

AI Is Creating A Rare Opportunity For Investors. How Jim Roppel Is Playing It. | Investing With IBD
▶︎

AI Is Creating A Rare Opportunity For Investors. How Jim Roppel Is Playing It. | Investing With IBD

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

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

Master Full-Stack Docker & CI/CD – Build a Production-Ready Pipeline
▶︎

Master Full-Stack Docker & CI/CD – Build a Production-Ready Pipeline

How to Design APIs Like a Senior Engineer (REST, GraphQL, Auth, Security)
▶︎

How to Design APIs Like a Senior Engineer (REST, GraphQL, Auth, Security)

🩸Phlebotomy Certification Practice Test – 50 Questions to Help You PASS!
▶︎

🩸Phlebotomy Certification Practice Test – 50 Questions to Help You PASS!

The Secret Psychology Of Accomplishing Anything
▶︎

The Secret Psychology Of Accomplishing Anything

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

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

Gil Strang's Final 18.06 Linear Algebra Lecture
▶︎

Gil Strang's Final 18.06 Linear Algebra Lecture

Welcome to the Game 3: Markiplier's Redemption
▶︎

Welcome to the Game 3: Markiplier's Redemption

Spring Security 7 Crash Course [2026] – Everything You Need to Know
▶︎

Spring Security 7 Crash Course [2026] – Everything You Need to Know

The AI Blueprint: How To Use AI To Make Millions, & Change Your Life w/ Alicia Lyttle 🚀
▶︎

The AI Blueprint: How To Use AI To Make Millions, & Change Your Life w/ Alicia Lyttle 🚀

Spring Boot and Angular Full Stack Development | 4 Hour Course
▶︎

Spring Boot and Angular Full Stack Development | 4 Hour Course

HTML Tutorial For Beginners - 2025 [NEW]
▶︎

HTML Tutorial For Beginners - 2025 [NEW]

How to Program Allen Bradley PLC Training for Beginners
▶︎

How to Program Allen Bradley PLC Training for Beginners

LIVE Motherboard Repair, But Chat Chooses The Repair!
▶︎

LIVE Motherboard Repair, But Chat Chooses The Repair!

System Design Course – APIs, Databases, Caching, CDNs, Load Balancing & Production Infra
▶︎

System Design Course – APIs, Databases, Caching, CDNs, Load Balancing & Production Infra

Docker and Kubernetes Tutorial |  Full Course [2021]
▶︎

Docker and Kubernetes Tutorial | Full Course [2021]