private DatabaseClientFactory.Bean makeClientFactory() { DatabaseClientFactory.Bean clientFactoryBean = new DatabaseClientFactory.Bean(); clientFactoryBean.setHost(Common.HOST); clientFactoryBean.setPort(Common.PORT); clientFactoryBean.setUser(Common.USER); clientFactoryBean.setPassword(Common.PASS); clientFactoryBean.setAuthentication(Authentication.DIGEST); return clientFactoryBean; }