Agree. It is much easier for user to set a collection of strings (especially from Spring), rather than construct some complex Java 8 object. Also we need to remember that this feature should be propagated to all thin clients and .NET integration. String getter/setter is only way to maintain API consistency across various platforms.
On Thu, Jul 26, 2018 at 9:16 PM Ilya Kasnacheev <ilya.kasnach...@gmail.com> wrote: > Hello! > > I really dislike the fact that SSLParameters has 6 setter methods, and we > only support one of them, when two more clash with SSL settings which are > set elsewhere. > > I.e. what happens if I pass SSLParameters with setAlgorithmConstraints() or > setProtocols() called on them? > > Is it possible that we will just have an array of allowed ciphers in > configuration? > > Regards, > > -- > Ilya Kasnacheev > > 2018-07-26 20:16 GMT+03:00 Michael Cherkasov <michael.cherka...@gmail.com > >: > > > Hi all, > > > > I want to add SSLParameters for SslContextFactory. > > > > Right now there's no way to specify a particular set of cipher suites > that > > you want to use. > > there's even old request to add this functionality: > > https://issues.apache.org/jira/browse/IGNITE-6167 > > even with current API you can achieve this, but this requires a lot of > > boilerplate code, to avoid this I added SSLParameters, that would be > > applied to all SSL connections, please review my pull request: > > https://github.com/apache/ignite/pull/4440 > > > > I think this patch covers 6167, so I want to push it in context of this > > ticket. > > > > Thanks, > > Mike. > > >