[
https://issues.apache.org/jira/browse/KNOX-3608?focusedWorklogId=1056608&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1056608
]
ASF GitHub Bot logged work on KNOX-3608:
----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Nov/26 10:40
Start Date: 23/Nov/26 10:40
Worklog Time Spent: 10m
Work Description: hanicz opened a new pull request, #1538:
URL: https://github.com/apache/knox/pull/1538
[KNOX-3608](https://issues.apache.org/jira/browse/KNOX-3608) - Normalize
outbound actor headers in ConfigurableDispatch
## What changes were proposed in this pull request?
Ensures that the actor identity and actor group headers (`actorIdHeaderName`,
`actorGroupsHeaderPrefix`) sent to the backend are always the ones Knox
computes from the authenticated subject when
`shouldIncludePrincipalAndGroups`
is enabled.
Previously these headers were appended to the outbound request alongside any
matching inbound headers, which could leave more than one value for the same
header. `ConfigurableDispatch` now clears any existing actor headers before
adding Knox's values, so exactly one authoritative set reaches the backend.
This covers custom header names and all subclasses (HA, SSE, REST catalog).
## How was this patch tested?
Added `ConfigurableDispatchTest` cases covering the actor id and group
headers
(default and custom names, append config, feature disabled).
Issue Time Tracking
-------------------
Worklog Id: (was: 1056608)
Remaining Estimate: 0h
Time Spent: 10m
> Normalize outbound actor headers in ConfigurableDispatch
> --------------------------------------------------------
>
> Key: KNOX-3608
> URL: https://issues.apache.org/jira/browse/KNOX-3608
> Project: Apache Knox
> Issue Type: Task
> Components: Server
> Affects Versions: 3.0.0
> Reporter: Tamás Hanicz
> Assignee: Tamás Hanicz
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)