Search
2 posts
Spring Security for REST APIs: a stateless filter chain, login and JWT with the resource server
Hands-on Spring Boot 4 / Spring Security 7: a filter chain for a stateless API, password storage with DelegatingPasswordEncoder, a login endpoint with AuthenticationManager, issuing JWTs with NimbusJwtEncoder, validating them with the resource server, mapping a roles claim to ROLE_, JSON 401/403 and CORS for an SPA.
The web and HTTP: the Internet, HTTPS, methods, status codes and HTTP versions
How the Internet and the web work, HTTPS and TLS, HTTP method semantics, idempotency, status codes, HTTP/2, HTTP/3, timeouts and CORS.