diff --git a/samples/contacts/src/main/resources/applicationContext-common-business.xml b/samples/contacts/src/main/resources/applicationContext-common-business.xml
index f5d36e5b5c..ed5c8cce9e 100644
--- a/samples/contacts/src/main/resources/applicationContext-common-business.xml
+++ b/samples/contacts/src/main/resources/applicationContext-common-business.xml
@@ -27,22 +27,7 @@
-
+
@@ -50,17 +35,6 @@
-
diff --git a/samples/dms/src/test/java/DmsIntegrationTests.java b/samples/dms/src/test/java/DmsIntegrationTests.java
index 12f14bb214..ead85272fc 100755
--- a/samples/dms/src/test/java/DmsIntegrationTests.java
+++ b/samples/dms/src/test/java/DmsIntegrationTests.java
@@ -29,10 +29,6 @@ public class DmsIntegrationTests extends AbstractTransactionalJUnit4SpringContex
@Autowired
protected DocumentDao documentDao;
- protected String[] getConfigLocations() {
- return new String[] {"classpath:applicationContext-dms-shared.xml", "classpath:applicationContext-dms-insecure.xml"};
- }
-
@After
public void clearContext() {
SecurityContextHolder.clearContext();
diff --git a/samples/dms/src/test/java/SecureDmsIntegrationTests.java b/samples/dms/src/test/java/SecureDmsIntegrationTests.java
index e1d334d9d7..f562ecdfc5 100755
--- a/samples/dms/src/test/java/SecureDmsIntegrationTests.java
+++ b/samples/dms/src/test/java/SecureDmsIntegrationTests.java
@@ -18,10 +18,6 @@ public class SecureDmsIntegrationTests extends DmsIntegrationTests {
// @Autowired
// private AclService aclService;
- protected String[] getConfigLocations() {
- return new String[] {"classpath:applicationContext-dms-shared.xml", "classpath:applicationContext-dms-secure.xml"};
- }
-
@Test
public void testBasePopulation() {
assertEquals(9, jdbcTemplate.queryForInt("select count(id) from DIRECTORY"));