String connectionUrl = "jdbc:h2:" + derbyDBName;
dataSource.setUrl(connectionUrl);
dataSource.setDriverClassName("org.h2.Driver");
try {
DatabaseCreator creator = new DatabaseCreator(dataSource);
creator.createRegistryDatabase();
RealmConfigXMLProcessor builder = new RealmConfigXMLProcessor();
InputStream inStream = new FileInputStream(
"src/test/resources/user-test/user-mgt-registry-test.xml");
try {
bootstrapRealmConfig = builder.buildRealmConfiguration(inStream);