From db82301c49534ea6df061faa902068be9c89bd69 Mon Sep 17 00:00:00 2001 From: Parkjyun Date: Wed, 16 Oct 2024 00:34:53 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[fix]=20whiteList=20=ED=97=88=EC=9A=A9=20ht?= =?UTF-8?q?tpmethod=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/hankki/hankkiserver/auth/config/SecurityConfig.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/hankki/hankkiserver/auth/config/SecurityConfig.java b/src/main/java/org/hankki/hankkiserver/auth/config/SecurityConfig.java index a71b996e..4e47b90c 100644 --- a/src/main/java/org/hankki/hankkiserver/auth/config/SecurityConfig.java +++ b/src/main/java/org/hankki/hankkiserver/auth/config/SecurityConfig.java @@ -8,6 +8,7 @@ import org.hankki.hankkiserver.auth.jwt.JwtValidator; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; +import org.springframework.http.HttpMethod; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; import org.springframework.security.config.annotation.web.configuration.WebSecurityCustomizer; @@ -54,6 +55,6 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { public WebSecurityCustomizer webSecurityCustomizer() { return web -> web.ignoring() .requestMatchers(authWhiteList) - .requestMatchers(businessLogicWhileList); + .requestMatchers(HttpMethod.GET, businessLogicWhileList); } } From 6c2f49702d2cd94ebff947b017685a0459fea296 Mon Sep 17 00:00:00 2001 From: Parkjyun Date: Wed, 16 Oct 2024 00:37:31 +0900 Subject: [PATCH 2/2] [fix] change server-yml for database --- server-yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-yml b/server-yml index 763eb8b6..0ec6f37d 160000 --- a/server-yml +++ b/server-yml @@ -1 +1 @@ -Subproject commit 763eb8b6b018aa098c2415d7ae69bd98e375e687 +Subproject commit 0ec6f37d33e106d28a6d3b33c1653546da1b1641