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
- @Transactional
- Spring Data JPA
- JdbcTemplate
- 페이징
- Routing Key
- 지연 로딩
- 컨테이너
- 쿠버네티스
- kafka
- 스프링 부트
- Spring
- docker
- AWS
- Spring Container
- DI
- DLQ
- Web
- docker compose
- securitycontextholderfilter
- 서블릿 컨테이너
- JPA
- JWT
- mybatis
- JPQL
- @ComponentScan
- MSA
- Dead Letter Queue
- dockerhub
- redis
- CORS
Archives
- Today
- Total
목록@AuthenticationPrincipal (1)
look-forest
메소드 시큐리티서비스 계층 메소드를 직접 호출 시 사용하는 보안 기능. (웹 기반일 경우 필요 X) 1. 메소드 시큐리티 설정@EnableMethodSecurity 애노테이션을 통해 메서드 보안이 활성화되며, AOP 를 통해 @PreAuthorize, @PostAuthorize 같은 메서드 보안 애노테이션을 사용할 수 있게 된다@EnableMethodSecurity(securedEnabled = true, prePostEnabled = true, jsr250Enabled = true)@Configurationpublic class MethodSecurity { // 추가적인 보안 설정이 필요한 경우 이곳에 작성 // AuthenticationManager를 Bean으로 등록 @Bean ..
Spring/Spring Security (feat. JWT, OAuth2)
2024. 11. 10. 20:48