Temporarily add @EnableWebFluxSecurity

This commit is contained in:
sgibb
2023-09-29 13:51:35 -04:00
parent d533ae7583
commit 6225e231e6

View File

@@ -18,10 +18,14 @@ package org.springframework.cloud.gateway.test;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity;
import org.springframework.security.config.web.server.ServerHttpSecurity;
import org.springframework.security.web.server.SecurityWebFilterChain;
@Configuration(proxyBeanMethods = false)
// TODO: remove when below is fixed
// https://github.com/spring-projects/spring-boot/commit/ee9c74556d45b39f097aff8a5fa65c6394d060b5
@EnableWebFluxSecurity
public class PermitAllSecurityConfiguration {
@Bean