Spring Security & Testing/Authentication — tổng quan
7/20
Bài 7 / 20~4 phútAuthenticationMiễn phí lượt xem

Authentication — tổng quan

Module này mổ xác thực: lookup user + BCrypt, form login/HTTP Basic, và JWT stateless (structure, issue, refresh).

Module này mổ xác thực: lookup user + BCrypt, form login/HTTP Basic, và JWT stateless (structure, issue, refresh).

Các bài trong module

  1. UserDetailsService & BCrypt
  2. Form login, HTTP Basic & session
  3. JWT structure & validation
  4. Issue, refresh & revoke JWT

Learning outcomes

  • Implement UserDetailsService + BCrypt password encoding
  • Compare form login vs HTTP Basic vs JWT khi nào dùng
  • Explain JWT structure + HMAC vs RSA signing
  • Implement JWT issue / refresh / revoke đúng

Yêu cầu trước

Hoàn thành module Security Architecture & Filter Chain.

Bài này có giúp bạn hiểu bản chất không?

Hỏi đáp về bài này

Chưa có câu hỏi

Đặt câu hỏi

Có gì chưa rõ trong bài? Đặt câu hỏi đầu tiên — câu trả lời từ cộng đồng giúp bạn (và người sau).

Đặt câu hỏi đầu tiên