From c4dcd4d114be90784d574888ebf4e04b101c9188 Mon Sep 17 00:00:00 2001 From: isanghaessi Date: Sun, 11 Feb 2024 01:14:00 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20ssl=20=EC=BA=90=EC=8B=9C=20=EB=B9=84?= =?UTF-8?q?=ED=99=9C=EC=84=B1=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../startrail/common/configuration/SecurityConfiguration.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/beside/startrail/common/configuration/SecurityConfiguration.java b/src/main/java/com/beside/startrail/common/configuration/SecurityConfiguration.java index 4bb2ee2..afdc668 100644 --- a/src/main/java/com/beside/startrail/common/configuration/SecurityConfiguration.java +++ b/src/main/java/com/beside/startrail/common/configuration/SecurityConfiguration.java @@ -4,6 +4,7 @@ import org.springframework.context.annotation.Configuration; import org.springframework.security.config.web.server.ServerHttpSecurity; import org.springframework.security.web.server.SecurityWebFilterChain; +import org.springframework.security.web.server.context.NoOpServerSecurityContextRepository; @Configuration public class SecurityConfiguration { @@ -20,6 +21,7 @@ public SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity serverHt .authorizeExchange(authorizeExchangeSpec -> authorizeExchangeSpec.anyExchange().permitAll() ) + .securityContextRepository(NoOpServerSecurityContextRepository.getInstance()) .build(); } } \ No newline at end of file