camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From richardgroote <>
Subject Http 3 Component and Credential delegation
Date Wed, 28 Jan 2015 11:20:57 GMT
Good day,

When using the HTTP(3) component of Apache Camel it is possible to define a
HttpClientConfigurer to add additional authentication / security. The
HttpClientConfigurer is used when the http client is created.

In our case we'd like to add a kerberos ticket when the http method is
called. Therefore we do not know the credentials when the camel
configuration (spring config) is loaded / created. So just before the http
call is made the credentials should be set on the http client. 

I've tried the HttpClientConfigurer but this one is created when the
HttpProducer is created and at that time i do not know the credentials. 

When the HttpProducer#process is called i know the credentials and can add
them to the client. A possible solution is to override HttpComponent,
HttpEndpoint and HttpProducer but i hope that is a better solution for it.

Does anyone have a better solution to add credentials to the httpclient just
before the http method is executed?

KInd regards,


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message