Skip to content

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

Open
Croway wants to merge 4 commits intoapache:camel-4.18.xfrom
Croway:chore/platform-http-auth-path-default-4.18.x
Open

chore: default authentication path to /* in platform-http-main (4.18.x)#22475
Croway wants to merge 4 commits 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

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