Add SSL bundle support to RestTemplateBuilder auto-configuration
Update RestTemplateBuilder auto-configuration so that an SSL can be configured via an SSL bundle. Closes gh-34810
This commit is contained in:
committed by
Phillip Webb
parent
fd5fd1491a
commit
b6befd133c
@@ -13,8 +13,9 @@ The following code shows a typical example:
|
||||
|
||||
include::code:MyService[]
|
||||
|
||||
TIP: `RestTemplateBuilder` includes a number of useful methods that can be used to quickly configure a `RestTemplate`.
|
||||
For example, to add BASIC auth support, you can use `builder.basicAuthentication("user", "password").build()`.
|
||||
`RestTemplateBuilder` includes a number of useful methods that can be used to quickly configure a `RestTemplate`.
|
||||
For example, to add BASIC authentication support, you can use `builder.basicAuthentication("user", "password").build()`.
|
||||
To add SSL support using an <<features#features.ssl.bundles,SSL bundle>>, you can use `builder.setSslBundle(sslBundle).build()`.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user