-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Similar to SslOptions in Lettuce library. --- * Add SslOptions from Lettuce library * Add InsecureTrustManagerFactory from Netty library * Separate SSL socket creation in DefaultJedisSocketFactory * Add SslOptions in JedisClientConfig * Add SslHostnameVerifyMode inspired by SslVerifyMode in Lettuce * Allow system default key and trust managers and insecure trust manager * fix jdoc * Address review comments * Revert back to verification mode names in Lettuce, to avoid confusion at this moment. * Rename insecureTrust to noTruststoreVerification; does this reduce confusion? * SslVerifyMode is renamed back and INSECURE option (renamed from NONE) is added back in SslVerifyMode. * Remove InsecureTrustManagerFactory * Disable ALL existing SSL tests * JedisTest with SslOptions * SSLACLJedisTest with SslOptions * SSLOptionsJedisSentinelPoolTest with SslOptions * SSLJedisClusterTest with SslOptions * TODO comment to enable existing SSL tests * TODO command to enable existing SSL tests in csc package * Enable existing SSL tests without impacting new ones * Missing enable existing SSL tests without impacting new ones * Keep only Builder pattern constructor for DefaultJedisClientConfig * Limit HostnameVerifier only for legacy ssl config and document as JavaDoc in JedisClientConfig * Remove unused codes from SSLOptionsJedisTest * Increase code reuse for LocalhostVerifier * Individual JavaDoc for each SslVerifyMode * Custom SocketFactory won't be supported with SslOptions * Deprecate DefaultJedisClientConfig.copyConfig() * Add option to set SSLContext protocol * Remove options to set KeyManager and TrustManager algorithms * Add File checkers * minor user/password change * minor update javadoc * Allow manual HostnameVerifier with SslOptions * Make test connectWithCustomHostNameVerifier() pass * Better SslOptions with custom HostnameVerifier in connectWithCustomHostNameVerifier() test * Shorten sslContextProtocol to sslProtocol * Use null as default password, unlike Lettuce where it uses empty char array. * Make an accidental private truststore builder option public * Remove Lettuce comments * Add JedisPooled tests * Use char array for password * Remove file license * Address code review * Merge fix * Deprecate helper methods in DefaultJedisClientConfig
- Loading branch information
Showing
16 changed files
with
1,164 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.