Similar to ServerHttpSecurity.cors() but only handles pre flight requests with the proposed PreFlightWebFilter. We may want to make this as part of cors or we may add a new preFlight dsl method.

See spring-projects/spring-framework#26885