Browse Source

Temporarily add @EnableWebFluxSecurity

pull/3064/head
sgibb 12 months ago
parent
commit
6225e231e6
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 4
      spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/test/PermitAllSecurityConfiguration.java

4
spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/test/PermitAllSecurityConfiguration.java

@ -18,10 +18,14 @@ package org.springframework.cloud.gateway.test; @@ -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

Loading…
Cancel
Save