User can exclude headers (generally in responses is most useful) by configuring them, or calling a setter in ZuulProperties. If Spring Security is on the classpath we add a few headers automatically, corresponding to the ones that would be added by Spring Security in the remote backend anyway (so they are not added twice). Nothing is actually removed, so if the remote service doesn't add those headers, we don't change anything. The X-Application-Context header is also added to the hard coded list of ignored headers, because it isn't relevant in the gateway (and leaks information about the remote service). Fixes gh-819
Name |
Last commit
|
Last update |
---|---|---|
.mvn | Loading commit data... | |
docs | Loading commit data... | |
eclipse | Loading commit data... | |
scripts | Loading commit data... | |
spring-cloud-netflix-core | Loading commit data... | |
spring-cloud-netflix-dependencies | Loading commit data... | |
spring-cloud-netflix-eureka-client | Loading commit data... | |
spring-cloud-netflix-eureka-server | Loading commit data... | |
spring-cloud-netflix-hystrix-amqp | Loading commit data... | |
spring-cloud-netflix-hystrix-dashboard | Loading commit data... | |
spring-cloud-netflix-hystrix-stream | Loading commit data... | |
spring-cloud-netflix-sidecar | Loading commit data... | |
spring-cloud-netflix-spectator | Loading commit data... | |
spring-cloud-netflix-turbine | Loading commit data... | |
spring-cloud-netflix-turbine-stream | Loading commit data... | |
spring-cloud-starter-archaius | Loading commit data... | |
spring-cloud-starter-atlas | Loading commit data... | |
spring-cloud-starter-eureka | Loading commit data... | |
spring-cloud-starter-eureka-server | Loading commit data... | |
spring-cloud-starter-feign | Loading commit data... | |
spring-cloud-starter-hystrix | Loading commit data... | |
spring-cloud-starter-hystrix-dashboard | Loading commit data... | |
spring-cloud-starter-ribbon | Loading commit data... | |
spring-cloud-starter-spectator | Loading commit data... | |
spring-cloud-starter-turbine | Loading commit data... | |
spring-cloud-starter-turbine-amqp | Loading commit data... | |
spring-cloud-starter-turbine-stream | Loading commit data... | |
spring-cloud-starter-zuul | Loading commit data... | |
.gitignore | Loading commit data... | |
.settings.xml | Loading commit data... | |
.travis.yml | Loading commit data... | |
Guardfile | Loading commit data... | |
LICENSE.txt | Loading commit data... | |
README.adoc | Loading commit data... | |
asciidoctor.css | Loading commit data... | |
mvnw | Loading commit data... | |
mvnw.cmd | Loading commit data... | |
pom.xml | Loading commit data... |