Class RedisPassword

java.lang.Object
org.springframework.data.redis.connection.RedisPassword

public class RedisPassword extends Object
Value object which may or may not contain a Redis password.

If a password is present, isPresent() will return true and get() will return the value.

The password is stored as character array.

Since:
2.0
Author:
Mark Paluch, Christoph Strobl