Skip to content

Commit

Permalink
Log proxi configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Strittmatter <[email protected]>
  • Loading branch information
Weltraumschaf committed Mar 1, 2024
1 parent 43317a4 commit 3951697
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public Foo(@NonNull ProxyConfig proxyConfig) {

public RestTemplate createRestTemplate() {
if (proxyConfig.isComplete()) {
log.debug("Configure proxy authentication for REST template.");
// Configuring Proxy Authentication explicitly as it isn't done by default for spring rest templates :(
final var builder = HttpClientBuilder.create()
.useSystemProperties()
Expand Down

0 comments on commit 3951697

Please sign in to comment.