@Test public void getConfiguredPassword() { URI uri = URI.create(TEST_PASSWORD_URI); RedisClientConnectionProperties rcp = new RedisClientConnectionProperties(uri); assertEquals("S0meP@ssw0rd", rcp.password()); }
public String password() { if (this.connection.getUserInfo() == null || !this.connection.getUserInfo().contains(":")) { return null; } return this.connection.getUserInfo().split(":", 2)[1]; }
RedisClientConnectionProperties { public String password() { if (this.connection.getUserInfo() == null || !this.connection.getUserInfo().contains(":")) { return null; } return this.connection.getUserInfo().split(":", 2)[1]; } }
RedisClientConnectionProperties { public String password() { if (this.connection.getUserInfo() == null || !this.connection.getUserInfo().contains(":")) { return null; } return this.connection.getUserInfo().split(":", 2)[1]; } RedisClientConnectionProperties(URI connection); }
RedisClientConnectionProperties { public String password() { if (this.connection.getUserInfo() == null || !this.connection.getUserInfo().contains(":")) { return null; } return this.connection.getUserInfo().split(":", 2)[1]; } RedisClientConnectionProperties(URI connection); boolean isSSL(); String password(); String addr(); int port(); int database(); }
RedisClientConnectionProperties { public String password() { if (this.connection.getUserInfo() == null || !this.connection.getUserInfo().contains(":")) { return null; } return this.connection.getUserInfo().split(":", 2)[1]; } RedisClientConnectionProperties(URI connection); boolean isSSL(); String password(); String addr(); int port(); int database();  }