From f6941a39af7cc54d6a9dce0ce2b68f59099cf80c Mon Sep 17 00:00:00 2001 From: erik 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 trunk/security/src/test/resources/spring/test.org.wamblee.security.useraccessor.xml diff --git a/trunk/security/src/test/java/org/wamblee/security/authorization/hibernate/AuthorizationSpringConfigFiles.java b/trunk/security/src/test/java/org/wamblee/security/authorization/hibernate/AuthorizationSpringConfigFiles.java index 4c00dfb7..5026cfd9 100644 --- a/trunk/security/src/test/java/org/wamblee/security/authorization/hibernate/AuthorizationSpringConfigFiles.java +++ b/trunk/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/trunk/security/src/test/resources/spring/test.org.wamblee.security.authorization.xml b/trunk/security/src/test/resources/spring/test.org.wamblee.security.authorization.xml index fe1cb4a0..29f2ff16 100644 --- a/trunk/security/src/test/resources/spring/test.org.wamblee.security.authorization.xml +++ b/trunk/security/src/test/resources/spring/test.org.wamblee.security.authorization.xml @@ -3,11 +3,6 @@ - - - - diff --git a/trunk/security/src/test/resources/spring/test.org.wamblee.security.useraccessor.xml b/trunk/security/src/test/resources/spring/test.org.wamblee.security.useraccessor.xml new file mode 100644 index 00000000..e306d63a --- /dev/null +++ b/trunk/security/src/test/resources/spring/test.org.wamblee.security.useraccessor.xml @@ -0,0 +1,11 @@ + + + + + + + + + + \ No newline at end of file -- 2.31.1