Skip to content

Add customizeSslContext(Consumer<SslContextBuilder>) #191

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

Closed
mp911de opened this issue Nov 7, 2019 · 2 comments
Closed

Add customizeSslContext(Consumer<SslContextBuilder>) #191

mp911de opened this issue Nov 7, 2019 · 2 comments
Labels
type: enhancement A general enhancement
Milestone

Comments

@mp911de
Copy link
Collaborator

mp911de commented Nov 7, 2019

We should add a Function<SslContextBuilder, SslContextBuilder> to allow deep customization of the SSL context. The customizer would get applied after all settings from PostgresqlConnectionConfiguration were applied.

The customizer should be a function to either benefit from fluent API style or to be able to return an entirely different SslContextBuilder.

@mp911de mp911de added the type: enhancement A general enhancement label Nov 7, 2019
@mp911de mp911de added this to the 0.8.0.RELEASE milestone Nov 7, 2019
@mp911de
Copy link
Collaborator Author

mp911de commented Nov 7, 2019

/cc @mirromutth

@mp911de
Copy link
Collaborator Author

mp911de commented Nov 7, 2019

Ideally, we defer SslProvider creation to connect time to apply the customizer just before connect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant