Skip to content

chore: default authentication path to /* in platform-http-main (4.18.x)#22475

Merged
Croway merged 1 commit intoapache:camel-4.18.xfrom
Croway:chore/platform-http-auth-path-default-4.18.x
Apr 8, 2026
Merged

chore: default authentication path to /* in platform-http-main (4.18.x)#22475
Croway merged 1 commit intoapache:camel-4.18.xfrom
Croway:chore/platform-http-auth-path-default-4.18.x

Conversation

@Croway
Copy link
Copy Markdown
Contributor

@Croway Croway commented Apr 7, 2026

Backport of #22474 to camel-4.18.x.

Summary

  • Default the authentication path to /* when not explicitly configured in BasicAuthenticationConfigurer and JWTAuthenticationConfigurer
  • Extract shared path resolution logic into MainAuthenticationConfigurer default method
  • Add tests for non-root context path and selective path authentication
  • Add upgrade guide entry for 4.18.1 → 4.18.2

Test plan

  • Existing auth tests pass (Basic + JWT)
  • New test: non-root context path with implicit auth path
  • New test: explicit authenticationPath for selective protection

@Croway Croway force-pushed the chore/platform-http-auth-path-default-4.18.x branch from 69ff5e3 to 1a15359 Compare April 8, 2026 08:43
@Croway Croway merged commit 6ec12cb into apache:camel-4.18.x Apr 8, 2026
3 checks passed
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.

2 participants