Thẻ

#security

99 Ngày Spring — Ngày 41: Kiến trúc Spring Security

Security là chuỗi filter đứng trước controller chứ không nằm trong nó, SecurityContext giữ Authentication trong ThreadLocal, phân biệt authentication 401 với authorization 403 — và bẫy hasRole so với hasAuthority.

6 thg 9, 20266 phút20