Skip to content

LettuceSslClientConfigurationBuilder methods are package-protected [DATAREDIS-755] #1336

Closed
@spring-projects-issues

Description

@spring-projects-issues

Matthew Barr opened DATAREDIS-755 and commented

When using the LettuceConnectionFactory in versions previous to 2.0, you could use the .useSsl() method to use ssl for the connection. With 2.0, that is now deprecated, and documented to use LettuceClientConfiguration instead.

Issue is when using the code from the documentation here, it doesn't compile. The LettuceClientConfiguration.Builder.useSsl() method returns a LettuceSslClientConfigurationBuilder that has no public methods, and isn't accepted as a parameter in LettuceConnectionFactory.

Apologies if I'm doing something wrong, or missed documentation on how to properly configure Lettuce with ssl.


Affects: 2.0.2 (Kay SR2)

Reference URL: https://stackoverflow.com/questions/48288993/spring-session-2-0-redis-lettuce-configuration

Backported to: 2.0.3 (Kay SR3)

1 votes, 3 watchers

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions