git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

spring boot http4 basic auth configuration


Hi,

I'm trying to configure basic authenicatio for the http4 component by using
the provided spring boot configuration properties.

application.properties:
camel.component.http4.http-configuration.auth-method=Basic
camel.component.http4.http-configuration.auth-username=peppi
camel.component.http4.http-configuration.auth-password=kokki

According to the newest docs on Github these should be picked up by
the autoconfiguration, and they are, but when comes to configuring
the httpcomponent, the relevant part of the code cannot find the
properties anymore.

This happens in HttpComponent line 145 to 170.

Do I need more/other properties being set?

versions used:
Spring Boot 2.0.4.RELEASE
Camel 2.22.1

Thank you

Mark