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 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); } }