I read the docs but still I'm not sure about the difference between these two properties:
zuul:
ignored-headers:
sensitive-headers:
If you can explain it with another words it would be appreciated.
I read the docs but still I'm not sure about the difference between these two properties:
zuul:
ignored-headers:
sensitive-headers:
If you can explain it with another words it would be appreciated.
Sensitive headers refer to the headers that are too sensitive to be passed on to the downstream applications. By default, Zuul considers Cookie,Set-Cookie,Authorization to be sensitive and doesn't pass those around. You can add/remove headers to this as per the security requirements.
Ignored headers are the headers that are totally ignored once traffic reaches Zuul. In other words, Zuul ignores such headers when sending traffic to downstream and ignores such headers from the response of the downstream services too.
References:
© 2022 - 2024 — McMap. All rights reserved.