Uses of Class
org.springframework.data.redis.connection.RedisPassword
Packages that use RedisPassword
Package
Description
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
-
Uses of RedisPassword in org.springframework.data.redis.connection
Methods in org.springframework.data.redis.connection that return RedisPasswordModifier and TypeMethodDescriptiondefault RedisPassword
RedisConfiguration.SentinelConfiguration.getDataNodePassword()
Get theRedisPassword
used when authenticating with a Redis Server.RedisClusterConfiguration.getPassword()
RedisConfiguration.WithAuthentication.getPassword()
Get the RedisPassword to use when connecting.RedisSentinelConfiguration.getPassword()
RedisSocketConfiguration.getPassword()
RedisStandaloneConfiguration.getPassword()
RedisStaticMasterReplicaConfiguration.getPassword()
default RedisPassword
RedisConfiguration.getPasswordOrElse
(Supplier<RedisPassword> other) Get the configuredRedisPassword
if the currentRedisConfiguration
ispassword aware
or evaluate and return the value of the givenSupplier
.static RedisPassword
RedisConfiguration.getPasswordOrElse
(RedisConfiguration configuration, Supplier<RedisPassword> other) RedisConfiguration.SentinelConfiguration.getSentinelPassword()
Returns theRedisPassword
to use when connecting to a Redis Sentinel.RedisSentinelConfiguration.getSentinelPassword()
static RedisPassword
RedisPassword.none()
Create an absentRedisPassword
.static RedisPassword
RedisPassword.of
(char[] passwordAsChars) Create aRedisPassword
from achar
array.static RedisPassword
Create aRedisPassword
from aString
.Methods in org.springframework.data.redis.connection with parameters of type RedisPasswordModifier and TypeMethodDescriptionvoid
RedisClusterConfiguration.setPassword
(RedisPassword password) void
RedisConfiguration.WithAuthentication.setPassword
(RedisPassword password) Create and set aRedisPassword
for givenString
.void
RedisSentinelConfiguration.setPassword
(RedisPassword password) void
RedisSocketConfiguration.setPassword
(RedisPassword password) void
RedisStandaloneConfiguration.setPassword
(RedisPassword password) void
RedisStaticMasterReplicaConfiguration.setPassword
(RedisPassword password) void
RedisConfiguration.SentinelConfiguration.setSentinelPassword
(RedisPassword password) Set aRedisPassword
to be used when authenticating with Redis Sentinel.void
RedisSentinelConfiguration.setSentinelPassword
(RedisPassword sentinelPassword) Method parameters in org.springframework.data.redis.connection with type arguments of type RedisPasswordModifier and TypeMethodDescriptiondefault RedisPassword
RedisConfiguration.getPasswordOrElse
(Supplier<RedisPassword> other) Get the configuredRedisPassword
if the currentRedisConfiguration
ispassword aware
or evaluate and return the value of the givenSupplier
.static RedisPassword
RedisConfiguration.getPasswordOrElse
(RedisConfiguration configuration, Supplier<RedisPassword> other)