Skip to content

Refactor header authority controller authentication#2954

Merged
avgustinmm merged 1 commit intoeclipse-hawkbit:masterfrom
boschglobal:refector_header_authority_auth
Mar 12, 2026
Merged

Refactor header authority controller authentication#2954
avgustinmm merged 1 commit intoeclipse-hawkbit:masterfrom
boschglobal:refector_header_authority_auth

Conversation

@avgustinmm
Copy link
Contributor

  1. (breaking changes) hawkbit.server.ddi.security.rp.cnHeader and sslIssuerHashHeader are renamed to controllerIdHeader and authorityHeader correspondingly.
  2. (breaking changes) their default values are changed: X-Ssl-Client-Cn -> X-Controller-Id and X-Ssl-Issuer-Hash-%d -> X-Authority
  3. Now the authority header configuration is not a string forma but just a string. The implemenation checks for this header as comma or ; separated list or seeks for header iteration <authority_header>-%d (iteration starts from 0 or 1
  4. Doc fixed
  5. As there are breaking changes configuration changes may be needed: a) with changing the hawkbit.server.ddi.security.rp you could turn back the previous default headers (note X-Ssl-Issuer-Hash-%d shall now be X-Ssl-Issuer-Hash), or b) you may change the headers sent by the reverse proxy

@avgustinmm avgustinmm force-pushed the refector_header_authority_auth branch 2 times, most recently from 2036e0b to 93ec3e3 Compare March 11, 2026 10:16
@avgustinmm avgustinmm force-pushed the refector_header_authority_auth branch from 93ec3e3 to 7b1f589 Compare March 12, 2026 06:57
@avgustinmm avgustinmm force-pushed the refector_header_authority_auth branch 3 times, most recently from 706dc13 to ed4b8d6 Compare March 12, 2026 08:16
1. (breaking changes) hawkbit.server.ddi.security.rp.cnHeader and sslIssuerHashHeader are renamed to controllerIdHeader and authorityHeader correspondingly.
2. (breaking changes) their default values are changed: X-Ssl-Client-Cn -> X-Controller-Id and X-Ssl-Issuer-Hash-%d -> X-Authority
3. Now the authority header configuration is not a string forma but just a string. The implemenation checks for this header as comma or ; separated list or seeks for header iteration <authority_header>-%d (iteration starts from 0 or 1
4. Doc fixed
5. As there are breaking changes configuration changes may be needed: a) with changing the hawkbit.server.ddi.security.rp you could turn back the previous default headers (note X-Ssl-Issuer-Hash-%d shall now be X-Ssl-Issuer-Hash), or b) you may change the headers sent by the reverse proxy

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
@avgustinmm avgustinmm force-pushed the refector_header_authority_auth branch from ed4b8d6 to 636425d Compare March 12, 2026 08:36
@avgustinmm avgustinmm merged commit 011d7f5 into eclipse-hawkbit:master Mar 12, 2026
3 checks passed
@avgustinmm avgustinmm deleted the refector_header_authority_auth branch March 12, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants