...
To be Reviewed By: January 2713, 2020
Authors: Mario Ivanac
Status: Draft Draft | Discussion | Active | Dropped | Superseded
Superseded by: N/A
...
Idea is to implement generic solution for modification of SSL parameters. If the user wishes to manipulate SSL Parameter
s they would need to define class which implements new interface and provide fully qualified class name provide ServiceLoader pattern as a new configuration parameter.
...
Code Block | ||||
---|---|---|---|---|
| ||||
public interface SSLParameterExtension { default void init(DistributionConfigProperties configproperties) {} default SSLParameters modifySSLClientSocketParameters(SSLParameters parameters) { return parameters; } default SSLParameters modifySSLServerSocketParameters(SSLParameters parameters) { return parameters; } } |
For more details see: PR 4505
...
Answers to questions you’ve commonly been asked after requesting comments for this proposal.
Errata
Since this RFC was approved, modification of argument for init() method was proposed, since it takes a DistributionConfig as an argument, but that is an internal class.
New proposal is to use Properties as argument for init() method:
default void init(Properties properties) {}What are minor adjustments that had to be made to the proposal since it was approved?