Skip to content

Reduce duplicated config to single; move to common AutoConfiguration - #359

Merged
skjolber merged 1 commit into
masterfrom
commonConfiguration
Aug 28, 2026
Merged

skjolber merged 1 commit into
masterfrom
commonConfiguration

Conversation

@skjolber

@skjolber skjolber commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Stronger way to ensure fixed bean init order.

@sonarqubecloud

Copy link
Copy Markdown

@skjolber
skjolber marked this pull request as ready for review August 28, 2026 15:26
@skjolber
skjolber requested a balanced review from Copilot August 28, 2026 15:26
@skjolber skjolber changed the title Reduce duplicated config to single Reduce duplicated config to single; move to common AutoConfiguration Aug 28, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Consolidates JWT header-to-issuer mapper bean configuration into the shared Spring module, ensuring consistent initialization across supported server integrations.

Changes:

  • Centralizes mapper and decider bean creation.
  • Removes duplicated bean definitions from Web, WebFlux, and gRPC configurations.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
jwt-spring-common/.../JwtAutoConfiguration.java Adds shared mapper bean configuration.
jwt-spring-web/.../JwtWebSecurityChainAutoConfiguration.java Removes duplicate Web configuration.
jwt-spring-webflux/.../JwtWebFluxSecurityAutoConfiguration.java Removes duplicate WebFlux configuration.
jwt-spring-grpc-native/.../JwtGrpcAutoConfiguration.java Removes duplicate gRPC configuration.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@skjolber
skjolber merged commit 4d910c9 into master Aug 28, 2026
13 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