Notice
Recent Posts
Link
Tags
- select
- sql
- 1차원 배열
- SSL
- 스프링부트
- java
- 자바
- string
- PYTHON
- hibernate
- 스프링
- Django
- AWS
- DI
- mysql
- 문자열
- spring mvc
- join
- spring boot
- static
- springboot
- spring
- Docker
- 데이터베이스
- ORM
- @transactional
- spring security 6
- nginx
- jpa
- 프로그래머스
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Archives
목록@EnableWebSecurity (1)
개발하는 자몽

@EnableWebSecurity? @EnableWebSecurity는 URL이 스프링 시큐리티의 제어를 받도록 만드는 어노테이션이다. @EnableWebSecurity 어노테이션을 사용하면 내부적으로 SpringSecurityFilterChain이 동작하여 URL 필터가 적용된다. 스프링 시큐리티의 세부 설정은 SecurityFilterChain 빈을 생성하여 설정할 수 있다. 공식문서에서는 아래와 같이 설명하고 있다. Add this annotation to an @Configuration class to have the Spring Security configuration defined in any WebSecurityConfigurer or more likely by exposing a Secur..
Java & Kotlin/Spring
2022. 12. 30. 23:18