Document doc = dBuilder.parse(this.getClass().getClassLoader().getResourceAsStream("jdbc-authenticator.xml"));
doc.getDocumentElement().normalize();
NodeList configurations = doc.getElementsByTagName("specificConfigurations");
UserStore userStore = new JDBCUserStore();
userStore.configure(configurations.item(0));
Assert.assertTrue(userStore.authenticate("amilaj", "secret"));
Assert.assertFalse(userStore.authenticate("amilaj", "1secret"));
Assert.assertFalse(userStore.authenticate("lahiru", "1234"));