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
- docker
- Spring
- CORS
- dockerhub
- 페이징
- docker compose
- 컨테이너
- securitycontextholderfilter
- 서블릿 컨테이너
- Web
- Routing Key
- Spring Data JPA
- DI
- 쿠버네티스
- MSA
- DLQ
- redis
- JWT
- @Transactional
- JdbcTemplate
- Dead Letter Queue
- JPQL
- 지연 로딩
- 스프링 부트
- Spring Container
- JPA
- @ComponentScan
- mybatis
- kafka
- AWS
Archives
- Today
- Total
목록method security (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