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

Allow client security configuration without trust material #1430

Merged
merged 1 commit into from
Mar 12, 2021

Conversation

idelpivnitskiy
Copy link
Member

Motivation:

Trust material is optional for the client-side security configuration
and we should allow using the default JDK truststore.

Modifications:

  • If users of deprecated ClientSecurityConfig did not specify a
    trust material, use default ClientSslConfigBuilder ctor;

Result:

Users of deprecated ClientSecurityConfig can create a security config
with default JDK truststore.

Motivation:

Trust material is optional for the client-side security configuration
and we should allow using the default JDK truststore.

Modifications:

- If users of deprecated `ClientSecurityConfig` did not specify a
trust material, use default `ClientSslConfigBuilder` ctor;

Result:

Users of deprecated `ClientSecurityConfig` can create a security config
with default JDK truststore.
@idelpivnitskiy
Copy link
Member Author

The fix is trivial, I will pull this in.

@idelpivnitskiy idelpivnitskiy merged commit 2d6cfdf into apple:main Mar 12, 2021
@idelpivnitskiy idelpivnitskiy deleted the client-security-config branch March 12, 2021 08:50
idelpivnitskiy added a commit that referenced this pull request Mar 12, 2021
Motivation:

Trust material is optional for the client-side security configuration
and we should allow using the default JDK truststore.

Modifications:

- If users of deprecated `ClientSecurityConfig` did not specify a
trust material, use default `ClientSslConfigBuilder` ctor;

Result:

Users of deprecated `ClientSecurityConfig` can create a security config
with default JDK truststore.
@bondolo bondolo self-requested a review March 13, 2021 02:06
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