Skip to content

Commit

Permalink
[fix] ssl 캐시 비활성화
Browse files Browse the repository at this point in the history
  • Loading branch information
isanghaessi committed Feb 10, 2024
1 parent 74a84d4 commit c4dcd4d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -20,6 +21,7 @@ public SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity serverHt
.authorizeExchange(authorizeExchangeSpec ->
authorizeExchangeSpec.anyExchange().permitAll()
)
.securityContextRepository(NoOpServerSecurityContextRepository.getInstance())
.build();
}
}

0 comments on commit c4dcd4d

Please sign in to comment.