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
- propagation
- type eraser
- generic type
- hoisting
- Generic method
- API
- assertJ
- IllegalStateException
- 역정규화
- cross-cutting concerns
- HandlerMethod
- 벌크연산
- wrapper class
- ExceptionResolver
- 프로그래머스
- RequestMappingHandlerMapping
- Java
- CORS
- COPYOFRANGE
- SPOF
- TDZ
- CQS
- Transaction
- demand paging
- pessimistic lock
- 단어변환
- optimistic lock
- tracking-modes
- #@Transacional
- NestJS 요청흐름
Archives
- Today
- Total
jingyulog
Authentication 🆚 Authorization 본문
| AUTHENTICATION | AUTHORIZATION |
| the identity of users are checked for providing the access to the system | user's authorities are checked for accessing the resources. |
| AuthN done before authorization | AuthZ always happens after authentication |
| It needs usually user's login details | It needs user's privilege or roles |
| If authentication fails, usually we will get 401 error response | If authorization fails, usually we will get 403 error response |
| in order to perform actions in app, we need to prove our identity | Once logged into the application, my roles, authorities will decide what kind of actions I can do |