Example usage for org.springframework.data.redis.connection.jedis JedisConnectionFactory getPassword

List of usage examples for org.springframework.data.redis.connection.jedis JedisConnectionFactory getPassword

Introduction

In this page you can find the example usage for org.springframework.data.redis.connection.jedis JedisConnectionFactory getPassword.

Prototype

public String getPassword() 

Source Link

Document

Returns the password used for authenticating with the Redis server.

Usage

From source file:org.cloudfoundry.reconfiguration.spring.RedisCloudServiceBeanFactoryPostProcessorTest.java

private void assertConfiguration(JedisConnectionFactory factory, String password, String host, int port) {
    assertEquals(password, factory.getPassword());
    assertEquals(host, factory.getHostName());
    assertEquals(port, factory.getPort());
}