Started work on componentizing the current user management.
[utils] / security / src / test / resources / spring / test.org.wamblee.security.datasource.xml
index ec3d26aa300780ac04e789c5742ab305da6fddeb..5a75178e1d4c8d3a2615fe50c0a72145f373f64e 100644 (file)
@@ -1,15 +1,23 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
 
-<!-- This is the Spring configuration to define the database-related stuff for the
+    <!-- This is the Spring configuration to define the database-related stuff for the
     all persistence tests.  -->
-    <beans>
-        <bean id="dataSource" 
-            class="org.springframework.jdbc.datasource.DriverManagerDataSource">
-            <property name="driverClassName"><value>${database.driver}</value></property>
-            <property name="url"><value>${database.url}</value></property>
-            <property name="username"><value>${database.username}</value></property>
-            <property name="password"><value>${database.password}</value></property>
-        </bean>
-    </beans>
-    
\ No newline at end of file
+    <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
+        <property name="driverClassName">
+            <value>${database.driver}</value>
+        </property>
+        <property name="url">
+            <value>${database.url}</value>
+        </property>
+        <property name="username">
+            <value>${database.username}</value>
+        </property>
+        <property name="password">
+            <value>${database.password}</value>
+        </property>
+    </bean>
+</beans>