public class PropertyBasedCorsFilter extends org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer<PropertyBasedCorsFilter,org.springframework.security.config.annotation.web.builders.HttpSecurity>
| Modifier and Type | Field and Description |
|---|---|
protected RestAppProperties |
restAppProperties |
| Constructor and Description |
|---|
PropertyBasedCorsFilter(RestAppProperties restAppProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
protected org.springframework.web.filter.CorsFilter |
corsFilter(RestAppProperties.Cors cors) |
disable, withObjectPostProcessorprotected final RestAppProperties restAppProperties
public PropertyBasedCorsFilter(RestAppProperties restAppProperties)
public void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws Exception
configure in interface org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.web.DefaultSecurityFilterChain,org.springframework.security.config.annotation.web.builders.HttpSecurity>configure in class org.springframework.security.config.annotation.SecurityConfigurerAdapter<org.springframework.security.web.DefaultSecurityFilterChain,org.springframework.security.config.annotation.web.builders.HttpSecurity>Exceptionprotected org.springframework.web.filter.CorsFilter corsFilter(RestAppProperties.Cors cors)
Copyright © 2023 Flowable. All rights reserved.