Tag

In-Memory Authentication

1 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 19, 2022 · Information Security

Mastering CSRF Protection in Spring Security with In‑Memory Users

This tutorial walks through configuring Spring Security 5.4 on Spring Boot 2.4, demonstrating how to set up in‑memory user credentials, handle CSRF tokens during GET and POST requests, and customize the security filter chain to enable or disable CSRF protection.

CSRFIn-Memory AuthenticationSpring Boot
0 likes · 6 min read
Mastering CSRF Protection in Spring Security with In‑Memory Users