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 |
Tags
- git
- consumer
- kafka
- Spring JPA
- producer
- spring
- Entity
- Spring Data JPA
- spring kafka
- CodePipeline
- CI
- bean
- Kotlin
- Streams
- mirror maker2
- QueryDSL
- entity graph
- centos7
- ECS
- PAGING
- mysql
- offsetdatetime
- JPA
- cd
- transactionaleventlistener
- Kubernetes
- API
- AWS
- K8s
- topic생성
Archives
- Today
- Total
목록JWT (1)
Yebali

요즘엔 다양한 방식의 인증/인가 시스템이 존재합니다AWS Cognito나 Firebase Authentication 등 클라우드 서비스도 있고,Keycloak 같은 IAM(Identity and Access Management solution)도 존재합니다. 이렇게 다양하고 좋은 서비스들이 있지만 오늘은 가장 기본적인(?)Spring Security으로 JWT을 발급해 주는 인증/인가 서비스를 만들어보려고 합니다. 아래 내용은 Spring Security를 사용해 회원을 관리하고,로그인에 성공하면 해당 회원의 권한이 인가된 JWT를 발급하고, 발급된 JWT를 사용해 API를 호출하는 예시입니다. 의존성 추가// gradle.build.ktsdependencies { // Spring Security..
Spring
2024. 11. 6. 00:03