Skip to content

Commit 22c894f

Browse files
committed
CHANGELOG: note Event Hubs shared section name-based builder wiring
1 parent 40d9b3d commit 22c894f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sdk/spring/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ This section includes changes in `spring-cloud-azure-autoconfigure` module.
1111
- AAD resource server now requires `spring.cloud.azure.active-directory.profile.tenant-id` to be set to a specific (non-reserved) tenant ID. Empty string, `common`, `organizations`, and `consumers` are no longer accepted and will cause application startup to fail with an `IllegalArgumentException`. ([#49033](https://github.com/Azure/azure-sdk-for-java/pull/49033))
1212
- `AadAuthenticationFilter` now enables explicit audience validation by default. The filter will verify that the JWT's `aud` (audience) claim matches either `spring.cloud.azure.active-directory.credential.client-id` or `spring.cloud.azure.active-directory.app-id-uri`. Tokens issued for other applications will be rejected with `BadJWTException`. This prevents cross-application token reuse and aligns with OAuth2/OIDC security best practices. ([#49033](https://github.com/Azure/azure-sdk-for-java/pull/49033))
1313
- B2C resource server now requires `spring.cloud.azure.active-directory.b2c.profile.tenant-id` to be set to a specific (non-reserved) tenant ID. Empty string, `common`, `organizations`, and `consumers` are no longer accepted. In addition, default token validation is hardened to enforce tenant-bound `tid`, stricter `aud` validation, and B2C-only trusted issuers. ([#49252](https://github.com/Azure/azure-sdk-for-java/pull/49252))
14+
- Event Hubs shared consumer/producer auto-configuration now wires the root `EventHubClientBuilder` by bean name (`springCloudAzureEventHubsClientBuilder`) instead of by type. Users who provide their own `EventHubClientBuilder` bean and want it to be injected into the auto-configured shared `EventHubConsumerClient`/`EventHubProducerClient` must register it under that bean name; a user-supplied builder under a different name will still suppress the auto-configured root builder, but will not be wired into the shared clients. ([#49245](https://github.com/Azure/azure-sdk-for-java/issues/49245))
1415

1516
#### Bugs Fixed
1617

0 commit comments

Comments
 (0)