You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2026/09/21 12:35:00 UTC

[jira] [Resolved] (CAMEL-24639) camel-http: implement SecretRotationAware to refresh credentials on rotation

     [ https://issues.apache.org/jira/browse/CAMEL-24639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved CAMEL-24639.
-------------------------------------
    Resolution: Fixed

> camel-http: implement SecretRotationAware to refresh credentials on rotation
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-24639
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24639
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-http
>            Reporter: Andrea Cosentino
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: 4.23.0
>
>
> Sub-task of CAMEL-24636.
> Adopt the {{SecretRotationAware}} SPI in camel-http.
> {{HttpComponent}} can hold a shared {{HttpClientConnectionManager}} and a {{HttpClientConfigurer}}, and component-level authentication options are resolved from property placeholders once at configure time. A context reload clears the endpoint registry but leaves the component and its connection manager in place, so rotated credentials are not picked up.
> On {{onSecretRotation}} the component should re-resolve its authentication configuration and refresh the credentials provider used by the client, so that subsequent requests authenticate with the new secret without recreating the shared connection manager.
> Note that endpoint-level options are re-resolved as a side effect of the endpoint registry being cleared; this sub-task is specifically about component-level and shared-client state.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)