Add documentation for Authorization headers. (#1424)

Mention that spring.cloud.config.headers can be used as an alternative.
This commit is contained in:
Sean Stiglitz
2019-07-25 07:40:01 -07:00
committed by Ryan Baxter
parent 355645d6f4
commit f8894e089f

View File

@@ -1518,6 +1518,8 @@ public class CustomConfigServiceBootstrapConfiguration {
}
----
NOTE: For a simplified approach to adding `Authorization` headers, the `spring.cloud.config.headers.*` property can be used instead.
2. In `resources/META-INF`, create a file called
`spring.factories` and specify your custom configuration, as shown in the following example: