Skip to content

feat(security-webflux): opt-in principal->header bridge#1

Merged
casc84ab merged 2 commits into
mainfrom
feat/tenant-header-bridge
Jun 26, 2026
Merged

feat(security-webflux): opt-in principal->header bridge#1
casc84ab merged 2 commits into
mainfrom
feat/tenant-header-bridge

Conversation

@casc84ab

Copy link
Copy Markdown
Contributor

Adds PrincipalHeaderBridgeWebFilter + opt-in WebFluxBridgeAutoConfiguration (firefly.security.webflux.header-bridge.enabled, default false) and a default TenantResolverPort, both @ConditionalOnMissingBean. Additive/opt-in. Part of the token-handler BFF security extraction landing in 26.06.03.

casc84ab added 2 commits June 25, 2026 11:33
PrincipalHeaderBridgeWebFilter derives trusted X-Tenant-Id/X-User-Id/X-User-Roles
from the validated token (never the client), overwriting any inbound value and
failing closed (403) on an unresolved required tenant. Wired by an opt-in
WebFluxBridgeAutoConfiguration (firefly.security.webflux.header-bridge.enabled,
off by default) that also contributes the default TenantResolverPort. Both beans
ConditionalOnMissingBean. spring-boot-autoconfigure compile-scope to match the
other security autoconfig modules. Dev version 26.06.03-SNAPSHOT; core tracked at
the dev version, api/spi pinned to 26.06.02.
…03 framework release

Drop the hand-rolled pre-release SNAPSHOT version pin and the dependencyManagement
neutralization; keep the spring-boot-autoconfigure dependency the header-bridge
auto-configuration needs. flywork fwversion bump takes the framework to 26.06.03.
@casc84ab casc84ab merged commit 47ee729 into main Jun 26, 2026
1 check failed
@casc84ab casc84ab deleted the feat/tenant-header-bridge branch June 26, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant