Class AuthenticatingRedisClient

java.lang.Object
io.lettuce.core.AbstractRedisClient
io.lettuce.core.RedisClient
org.springframework.data.redis.connection.lettuce.AuthenticatingRedisClient

@Deprecated public class AuthenticatingRedisClient extends io.lettuce.core.RedisClient
Deprecated.
since 1.6 - Please use RedisURI.setPassword(String)
Extension of RedisClient that calls auth on all new connections using the supplied credentials
Author:
Jennifer Hickey, Mark Paluch, Christoph Strobl
  • Field Summary

    Fields inherited from class io.lettuce.core.AbstractRedisClient

    channels, closeableResources, connectionEvents
  • Constructor Summary

    Constructors
    Constructor
    Description
    AuthenticatingRedisClient(String host, int port, String password)
    Deprecated.
     
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <K, V> io.lettuce.core.api.StatefulRedisConnection<K,V>
    connect(io.lettuce.core.codec.RedisCodec<K,V> codec)
    Deprecated.
     
    <K, V> io.lettuce.core.pubsub.StatefulRedisPubSubConnection<K,V>
    connectPubSub(io.lettuce.core.codec.RedisCodec<K,V> codec)
    Deprecated.
     

    Methods inherited from class io.lettuce.core.RedisClient

    connect, connect, connect, connectAsync, connectPubSub, connectPubSub, connectPubSub, connectPubSubAsync, connectSentinel, connectSentinel, connectSentinel, connectSentinel, connectSentinelAsync, create, create, create, create, create, create, getSocketAddress, newStatefulRedisConnection, newStatefulRedisPubSubConnection, newStatefulRedisSentinelConnection, newStringStringCodec, setOptions

    Methods inherited from class io.lettuce.core.AbstractRedisClient

    addListener, addListener, channelType, connectionBuilder, createHandshake, getChannelCount, getCommandListeners, getConnection, getConnection, getDefaultTimeout, getOptions, getResourceCount, getResources, initializeChannelAsync, removeListener, removeListener, setDefaultTimeout, setDefaultTimeout, shutdown, shutdown, shutdown, shutdownAsync, shutdownAsync

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AuthenticatingRedisClient

      public AuthenticatingRedisClient(String host, int port, String password)
      Deprecated.
    • AuthenticatingRedisClient

      public AuthenticatingRedisClient(String host, String password)
      Deprecated.
  • Method Details

    • connect

      public <K, V> io.lettuce.core.api.StatefulRedisConnection<K,V> connect(io.lettuce.core.codec.RedisCodec<K,V> codec)
      Deprecated.
      Overrides:
      connect in class io.lettuce.core.RedisClient
    • connectPubSub

      public <K, V> io.lettuce.core.pubsub.StatefulRedisPubSubConnection<K,V> connectPubSub(io.lettuce.core.codec.RedisCodec<K,V> codec)
      Deprecated.
      Overrides:
      connectPubSub in class io.lettuce.core.RedisClient