Tìm kiếm
2 bài viết
Spring Security cho REST API: filter chain stateless, đăng nhập và JWT với resource server
Thực hành Spring Boot 4 / Spring Security 7: filter chain cho API stateless, lưu mật khẩu bằng DelegatingPasswordEncoder, endpoint đăng nhập với AuthenticationManager, phát JWT bằng NimbusJwtEncoder, kiểm JWT bằng resource server, đổi claim roles thành ROLE_, trả 401/403 dạng JSON và CORS cho SPA.
Web và HTTP: Internet, HTTPS, method, status code và các phiên bản HTTP
Internet và web hoạt động ra sao, HTTPS và TLS, ngữ nghĩa HTTP method, idempotency, status code, HTTP/2, HTTP/3, timeout và CORS.