Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Tags
- backjoon
- 자바스크립트
- DB
- python
- CS
- Spring Security
- springboot
- 자바
- 스프링
- JPA
- baekjoon
- 파이썬
- 데이터
- Flutter
- 자료구조
- CS지식
- 백준
- 리눅스
- 네트워크
- Java
- 스프링 부트 쇼핑몰 프로젝트 with JPA
- postgresql
- Oracle
- 스프링부트
- 시큐리티
- 플러터
- 데이터베이스
- spring
- javascript
- 프로그래머스
Archives
- Today
- Total
Jin's Dev Story
[Spring Security] Authentication의 구조 본문
- Spring에서 로그인을 한다는 것은 SecurityContext가 authenticated가 true인 Authenticaiton(인증) 객체를 갖고 있는 상태 → 이때 authintication(인증)은 AnonymousAuthenticationToken이 아니어야 함!
- SecurityContextHolder(인증보관함 보관소)는 인증을 보관하는 보관소이며 Authentication(인증)을 갖고 있는 SecurityContext(인증보관함)를 보관
- AuthenticationProvider(인증 제공자)은 Authentication(인증)을 제공하며 이는 여러개가 존재할 수 있음
- AuthenticationProvider(인증 제공자)를 관리하는 Interface를 AuthenticationManager(인증 관리자)라고 하며 ProviderManager는 AuthenticationManager(인증 관리자)를 구현
- Authentication(인증)은 권한의 정보와 인증 대상에 대한 Principal(접근 주체), Credential(비밀번호)의 정보를 갖는 인터페이스
'Web & Android > Spring Security' 카테고리의 다른 글
[Spring Security] 기본 동작 구조 (0) | 2023.10.17 |
---|---|
[Spring Security] Spring Security란? (0) | 2023.10.17 |
[Spring Security] Authentication의 메커니즘 (0) | 2023.10.17 |
[Spring Security] Jwt Token 사용 (0) | 2023.10.17 |
[Spring Security] Security 사용 (1) | 2023.10.17 |