From eed0bb0616e08837bf08dcd5381467e385fd143d Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Sun, 11 May 2008 19:19:14 +0000 Subject: [PATCH] Extracted useraccessor from the authorization component because it is dependent on the environment. --- .../hibernate/AuthorizationSpringConfigFiles.java | 4 +++- .../test.org.wamblee.security.authorization.xml | 5 ----- .../spring/test.org.wamblee.security.useraccessor.xml | 11 +++++++++++ 3 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 security/src/test/resources/spring/test.org.wamblee.security.useraccessor.xml diff --git a/security/src/test/java/org/wamblee/security/authorization/hibernate/AuthorizationSpringConfigFiles.java b/security/src/test/java/org/wamblee/security/authorization/hibernate/AuthorizationSpringConfigFiles.java index 4c00dfb7..5026cfd9 100644 --- a/security/src/test/java/org/wamblee/security/authorization/hibernate/AuthorizationSpringConfigFiles.java +++ b/security/src/test/java/org/wamblee/security/authorization/hibernate/AuthorizationSpringConfigFiles.java @@ -26,7 +26,9 @@ import org.wamblee.usermgt.UsermgtSpringConfigFiles; public class AuthorizationSpringConfigFiles extends UsermgtSpringConfigFiles { public AuthorizationSpringConfigFiles() { - super(new String[] { "spring/test.org.wamblee.security.authorization.xml" }); + super(new String[] { + "spring/test.org.wamblee.security.useraccessor.xml", + "spring/test.org.wamblee.security.authorization.xml" }); } } diff --git a/security/src/test/resources/spring/test.org.wamblee.security.authorization.xml b/security/src/test/resources/spring/test.org.wamblee.security.authorization.xml index fe1cb4a0..29f2ff16 100644 --- a/security/src/test/resources/spring/test.org.wamblee.security.authorization.xml +++ b/security/src/test/resources/spring/test.org.wamblee.security.authorization.xml @@ -3,11 +3,6 @@ - - - - diff --git a/security/src/test/resources/spring/test.org.wamblee.security.useraccessor.xml b/security/src/test/resources/spring/test.org.wamblee.security.useraccessor.xml new file mode 100644 index 00000000..e306d63a --- /dev/null +++ b/security/src/test/resources/spring/test.org.wamblee.security.useraccessor.xml @@ -0,0 +1,11 @@ + + + + + + + + + + \ No newline at end of file -- 2.31.1