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 RedisPasswordRedisConfiguration.SentinelConfiguration.getDataNodePassword()Get theRedisPasswordused 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 RedisPasswordRedisConfiguration.getPasswordOrElse(Supplier<RedisPassword> other) Get the configuredRedisPasswordif the currentRedisConfigurationispassword awareor evaluate and return the value of the givenSupplier.static RedisPasswordRedisConfiguration.getPasswordOrElse(RedisConfiguration configuration, Supplier<RedisPassword> other) RedisConfiguration.SentinelConfiguration.getSentinelPassword()Returns theRedisPasswordto use when connecting to a Redis Sentinel.RedisSentinelConfiguration.getSentinelPassword()static RedisPasswordRedisPassword.none()Create an absentRedisPassword.static RedisPasswordRedisPassword.of(char[] passwordAsChars) Create aRedisPasswordfrom achararray.static RedisPasswordCreate aRedisPasswordfrom aString.Methods in org.springframework.data.redis.connection with parameters of type RedisPasswordModifier and TypeMethodDescriptionvoidRedisClusterConfiguration.setPassword(RedisPassword password) voidRedisConfiguration.WithAuthentication.setPassword(RedisPassword password) Create and set aRedisPasswordfor givenString.voidRedisSentinelConfiguration.setPassword(RedisPassword password) voidRedisSocketConfiguration.setPassword(RedisPassword password) voidRedisStandaloneConfiguration.setPassword(RedisPassword password) voidRedisStaticMasterReplicaConfiguration.setPassword(RedisPassword password) voidRedisConfiguration.SentinelConfiguration.setSentinelPassword(RedisPassword password) Set aRedisPasswordto be used when authenticating with Redis Sentinel.voidRedisSentinelConfiguration.setSentinelPassword(RedisPassword sentinelPassword) Method parameters in org.springframework.data.redis.connection with type arguments of type RedisPasswordModifier and TypeMethodDescriptiondefault RedisPasswordRedisConfiguration.getPasswordOrElse(Supplier<RedisPassword> other) Get the configuredRedisPasswordif the currentRedisConfigurationispassword awareor evaluate and return the value of the givenSupplier.static RedisPasswordRedisConfiguration.getPasswordOrElse(RedisConfiguration configuration, Supplier<RedisPassword> other)