Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Spring SSL bundles based on Key Vault JCA #44259

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

moarychan
Copy link
Member

Description

Fixes #28243, #35782
Support Spring SSL bundles based on Key Vault JCA, the new starter spring-cloud-azure-starter-keyvault-jca is compatible with Spring Boot 3.1+.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@github-actions github-actions bot added the azure-spring All azure-spring related issues label Feb 19, 2025
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@moarychan moarychan marked this pull request as ready for review February 19, 2025 04:53
return;
}

final AtomicBoolean providerConfigured = new AtomicBoolean(false);
Copy link
Member

Choose a reason for hiding this comment

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

why does this need to be an atomic? Seems like there's no concurrency issue?

Copy link
Member Author

Choose a reason for hiding this comment

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

Since here need a final variable

return;
}

configureJcaSystemProperties(bundleProperties);
Copy link
Member

Choose a reason for hiding this comment

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

Should we unset the system properties later?

Copy link
Member Author

Choose a reason for hiding this comment

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

Will update the logic when JCA changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure-spring All azure-spring related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE REQ] TLS support in Spring Boot with Azure Key Vault Certificates
3 participants