public class CorsConfigurator extends Object implements Configurator
| Constructor and Description |
|---|
CorsConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity httpSecurity) |
protected List<String> |
getCorsAllowedHeaders() |
protected List<String> |
getCorsAllowedMethods() |
protected List<String> |
getCorsAllowedOrigins() |
protected List<String> |
getCorsExposedHeaders() |
protected CorsFilter |
getCorsFilter() |
protected List<String> |
getCorsMapping() |
protected int |
getCorsMaxAge() |
protected boolean |
isCorsAllowCredentials() |
boolean |
isCorsEnable() |
public void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity httpSecurity)
configure in interface Configuratorprotected boolean isCorsAllowCredentials()
protected int getCorsMaxAge()
public boolean isCorsEnable()
protected CorsFilter getCorsFilter()
Copyright © 2020. All rights reserved.