Package io.atlasmap.standalone
Class CorsConfiguration
java.lang.Object
io.atlasmap.standalone.CorsConfiguration
@Configuration
@EnableConfigurationProperties
@ConfigurationProperties("cors")
public class CorsConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.filter.CorsFilter
void
setAllowedOrigins
(List<String> allowedOrigins)
-
Constructor Details
-
CorsConfiguration
public CorsConfiguration()
-
-
Method Details
-
corsFilter
@Bean public org.springframework.web.filter.CorsFilter corsFilter() -
getAllowedOrigins
-
setAllowedOrigins
-