public List<Map<String, Object>> getDataSources( OlapConnection connection) throws OlapException { Database olapDb = connection.getOlapDatabase(); final String modes = createCsv(olapDb.getAuthenticationModes()); final String providerTypes = createCsv(olapDb.getProviderTypes()); return Collections.singletonList( Olap4jUtil.mapOf( "DataSourceName", (Object) olapDb.getName(), "DataSourceDescription", olapDb.getDescription(), "URL", olapDb.getURL(), "DataSourceInfo", olapDb.getDataSourceInfo(), "ProviderName", olapDb.getProviderName(), "ProviderType", providerTypes, "AuthenticationMode", modes)); }