alexxiyang/shiro-redis

使用redis哨兵模式时 连接redis哨兵报错NOAUTH Authentication required

Ccccccai777 opened this issue · 1 comments

在getJedis方法中初始化JedisSentinelPool调用的构造方法不会设置redis哨兵的密码导致NOAUTH Authentication required
jedisPool = new JedisSentinelPool(masterName, sentinels, getJedisPoolConfig(), timeout, soTimeout, password, database);

我也碰到了同样的问题,您那边是如何解决的