From 495595d6a0478af0c5f36cfa48011c6e87f48f68 Mon Sep 17 00:00:00 2001 From: geniusbrainlsm Date: Mon, 17 Nov 2025 16:16:51 +0900 Subject: [PATCH 1/2] fix : jwt dependencies fix (cache error fix purpose) --- build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index a355bd4..8420315 100644 --- a/build.gradle +++ b/build.gradle @@ -29,11 +29,11 @@ dependencies { implementation 'org.postgresql:postgresql:42.7.3' implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.9' - implementation 'io.jsonwebtoken:jjwt-api:0.11.5' + implementation 'io.jsonwebtoken:jjwt-api:0.12.6' implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310' annotationProcessor 'jakarta.persistence:jakarta.persistence-api:3.1.0' - runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5' - runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5' + runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.6' + runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.6' compileOnly 'org.projectlombok:lombok' runtimeOnly 'org.postgresql:postgresql' annotationProcessor 'org.projectlombok:lombok' From 790a981a797907203acca8e3992dc7fce4232f41 Mon Sep 17 00:00:00 2001 From: geniusbrainlsm Date: Mon, 17 Nov 2025 16:27:02 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20AntPathRequestMatcher=20deprecated?= =?UTF-8?q?=20=EC=83=9D=EC=84=B1=EC=9E=90=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - AntPathRequestMatcher 생성자를 static factory method로 변경 - Spring Security 6.x 호환성 개선 --- .../config/security/SecurityConfig.java | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/backend/server/config/security/SecurityConfig.java b/src/main/java/com/backend/server/config/security/SecurityConfig.java index 336389b..694c2bc 100644 --- a/src/main/java/com/backend/server/config/security/SecurityConfig.java +++ b/src/main/java/com/backend/server/config/security/SecurityConfig.java @@ -32,17 +32,17 @@ public class SecurityConfig { @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { RequestMatcher requestMatcher = new OrRequestMatcher( - new AntPathRequestMatcher("/swagger-ui/**"), - new AntPathRequestMatcher("/swagger-ui.html"), - new AntPathRequestMatcher("/v3/api-docs/**"), - new AntPathRequestMatcher("/swagger-resources/**"), - new AntPathRequestMatcher("/swagger-resources"), - new AntPathRequestMatcher("/webjars/**"), - new AntPathRequestMatcher("/configuration/ui"), - new AntPathRequestMatcher("/configuration/security"), - new AntPathRequestMatcher("/api/auth/sign-in"), - new AntPathRequestMatcher("/api/auth/token/refresh"), - new AntPathRequestMatcher("/api/health-check") + AntPathRequestMatcher.antMatcher("/swagger-ui/**"), + AntPathRequestMatcher.antMatcher("/swagger-ui.html"), + AntPathRequestMatcher.antMatcher("/v3/api-docs/**"), + AntPathRequestMatcher.antMatcher("/swagger-resources/**"), + AntPathRequestMatcher.antMatcher("/swagger-resources"), + AntPathRequestMatcher.antMatcher("/webjars/**"), + AntPathRequestMatcher.antMatcher("/configuration/ui"), + AntPathRequestMatcher.antMatcher("/configuration/security"), + AntPathRequestMatcher.antMatcher("/api/auth/sign-in"), + AntPathRequestMatcher.antMatcher("/api/auth/token/refresh"), + AntPathRequestMatcher.antMatcher("/api/health-check") ); List origins = List.of(