Extracted useraccessor from the authorization component because it is dependent on...
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Sun, 11 May 2008 19:19:14 +0000 (19:19 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Sun, 11 May 2008 19:19:14 +0000 (19:19 +0000)
security/src/test/java/org/wamblee/security/authorization/hibernate/AuthorizationSpringConfigFiles.java
security/src/test/resources/spring/test.org.wamblee.security.authorization.xml
security/src/test/resources/spring/test.org.wamblee.security.useraccessor.xml [new file with mode: 0644]

index 4c00dfb7ececdf5bba0f1491fc6663993205d90d..5026cfd9478983215250f389816b2ad1562b568c 100644 (file)
@@ -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" });
     }
 
 }
index fe1cb4a091a4d37f3f681242f1cdc52d9c7d1e14..29f2ff1682ab6e220587d9b4b08a08532053bfeb 100644 (file)
@@ -3,11 +3,6 @@
 
 <beans>
     
-    <bean id="org.wamblee.usermgt.UserAccessor"
-        class="org.wamblee.security.authorization.TestUserAccessor">
-        
-    </bean>
-    
     <bean id="org.wamblee.security.authorization.OperationRegistry"
         class="org.wamblee.security.authorization.DefaultOperationRegistry">
         <constructor-arg>
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 (file)
index 0000000..e306d63
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+
+<beans>
+    
+    <bean id="org.wamblee.usermgt.UserAccessor"
+        class="org.wamblee.security.authorization.TestUserAccessor">
+        
+    </bean>
+    
+</beans> 
\ No newline at end of file