public static interface RedisConfiguration.WithPassword
RedisConfiguration part suitable for configurations that may use authentication when connecting.| Modifier and Type | Method and Description |
|---|---|
RedisPassword |
getPassword()
Get the RedisPassword to use when connecting.
|
default void |
setPassword(char[] password)
Create and set a
RedisPassword for given String. |
void |
setPassword(RedisPassword password)
Create and set a
RedisPassword for given String. |
default void |
setPassword(String password)
Create and set a
RedisPassword for given String. |
default void setPassword(@Nullable String password)
RedisPassword for given String.password - can be null.default void setPassword(@Nullable char[] password)
RedisPassword for given String.password - can be null.void setPassword(RedisPassword password)
RedisPassword for given String.password - must not be null use RedisPassword.none() instead.RedisPassword getPassword()
RedisPassword.none() if none set.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.