<CONTEXT>RedisAsyncConnection<K, V> conn = super.connectAsync(codec);conn.auth(password);return conn;</BUG>}@Override<extra_id_0>}@Override<BUG>public <K, V> RedisPubSubConnection<K, V> connectPubSub(RedisCodec<K, V> codec) {RedisPubSubConnection<K, V> conn = super.connectPubSub(codec);conn.auth(password);return conn;</BUG>}</CONTEXT>
public AuthenticatingRedisClient(String host, int port, String password) {super(null, RedisURI.builder().withHost(host).withPort(port).withPassword(password).build());public AuthenticatingRedisClient(String host, String password) {super(null, RedisURI.builder().withHost(host).withPassword(password).build());public <K, V> StatefulRedisConnection<K, V> connect(RedisCodec<K, V> codec) {return super.connect(codec);