From 7e443d3eca4bed2def06ab7822c9d084b9438069 Mon Sep 17 00:00:00 2001 From: nicolas-tg-ch <52569699+nicolas-tg-ch@users.noreply.github.com> Date: Mon, 7 Feb 2022 15:13:54 +0100 Subject: [PATCH] SentinelServersConfig: copy username in copy constructor https://github.com/redisson/redisson/issues/3948 introduced sentinel username, but forgot to copy it in copy constructor. Result: authentication with username and password is not possible because config is always copied in org.redisson.Redisson constructor. Signed-off-by: Nicolas Herzog --- .../src/main/java/org/redisson/config/SentinelServersConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/redisson/src/main/java/org/redisson/config/SentinelServersConfig.java b/redisson/src/main/java/org/redisson/config/SentinelServersConfig.java index 92d3e4750..7c8ff323b 100644 --- a/redisson/src/main/java/org/redisson/config/SentinelServersConfig.java +++ b/redisson/src/main/java/org/redisson/config/SentinelServersConfig.java @@ -68,6 +68,7 @@ public class SentinelServersConfig extends BaseMasterSlaveServersConfig