Add documentation for Authorization headers. (#1424)
Mention that spring.cloud.config.headers can be used as an alternative.
This commit is contained in:
committed by
Ryan Baxter
parent
355645d6f4
commit
f8894e089f
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user