File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
java/cmf/commitField/global/security Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,13 @@ public SecurityConfig(CustomOAuth2UserService customOAuth2UserService) {
2323
2424 @ Bean
2525 protected SecurityFilterChain config (HttpSecurity http ) throws Exception {
26+ // ๊ถํ ์ค์
27+ http
28+ .authorizeHttpRequests (auth -> auth
29+ .requestMatchers ("/actuator/**" ).permitAll () // actuator ์๋ํฌ์ธํธ ํ์ฉ
30+ .anyRequest ().authenticated () // ๊ทธ ์ธ ๋ชจ๋ ์์ฒญ์ ์ธ์ฆ ํ์
31+ );
32+
2633 //๋ก๊ทธ์ธ ๊ด๋ จ ์ค์
2734 http
2835 .oauth2Login (oauth2 -> oauth2
Original file line number Diff line number Diff line change 33 spring:
44 data:
55 redis:
6- password: cmf123414
7- key: cmf123414
6+ password: NEED_TO_INPUT
7+ key: NEED_TO_INPUT
88spring:
99 security:
1010 oauth2:
You canโt perform that action at this time.
0 commit comments