title: Cannot connect to redis using spring and lettuce
body: <p>I am struggling to find what could be wring here;  need help.
  I am using spring-data-redis 2.4.1</p>
  <pre><code>RedisStandaloneConfiguration redisStandaloneConfiguration = new RedisStandaloneConfiguration()
  redisStandaloneConfiguration.setHostname(hostname)
  redisStandaloneConfiguration.setPort(6379)
  redisStandaloneConfiguration.setPassword(&quot;password&quot;)
  </code></pre>
  <p>I then create <code>lettuceClientConfigurationBuilder</code> and specify <code>clientName</code></p>
  <p>I then use <code>lettuceClientConfiguration</code> and <code>redisStandaloneConfiguration</code> to create <code>ClientConnectionFactory</code>.</p>
  <p>However, when we call <code>getConnection()</code> on the connection Factory, we get</p>
  <pre><code>WrongPass Invalid username-password pair
  </code></pre>
  <p>The same set of username-password works with Redis-CLI on cmd prompt.</p>
  <p>Is there is something wrong in the way I am using in my java application?</p>
  <p>Any pointer/hint towards solving this would be greatly appreciated.</p>