|
@@ -3,15 +3,12 @@
|
|
xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
|
|
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
|
|
- xmlns:conditional="http://lenox.com/beyondj/profile"
|
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
|
|
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
|
|
http://www.springframework.org/schema/tx
|
|
http://www.springframework.org/schema/tx
|
|
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
|
|
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
|
|
http://www.springframework.org/schema/data/jpa
|
|
http://www.springframework.org/schema/data/jpa
|
|
- http://www.springframework.org/schema/data/jpa/spring-jpa-1.0.xsd
|
|
|
|
- http://lenox.com/beyondj/profile
|
|
|
|
- http://lenox.com/beyondj/profile/profile.xsd">
|
|
|
|
|
|
+ http://www.springframework.org/schema/data/jpa/spring-jpa-1.0.xsd">
|
|
|
|
|
|
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
|
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
|
<property name="locations">
|
|
<property name="locations">
|
|
@@ -21,14 +18,13 @@
|
|
</property>
|
|
</property>
|
|
</bean>
|
|
</bean>
|
|
|
|
|
|
- <bean id="derbyUtil" class="com.lenox.util.DerbyUtil">
|
|
|
|
- <constructor-arg index="0" value="${system.jdbc.database.platform:DERBY}"/>
|
|
|
|
- <constructor-arg index="1" value="${system.derby.database.test.path:jdbc:derby://localhost:1527/beyondj;create=false;user=beyondj_user;password=_beyondj_user_}"/>
|
|
|
|
- </bean>
|
|
|
|
-
|
|
|
|
- <conditional:importIf test="${system.jdbc.database.platform=='DERBY'}" src="props/core-config.properties"
|
|
|
|
- resource="config/spring/core-derby.xml" />
|
|
|
|
-
|
|
|
|
|
|
+ <!-- <bean id="derbyUtil" class="com.lenox.util.DerbyUtil">
|
|
|
|
+ <constructor-arg index="0" value="${system.jdbc.database.platform:DERBY}"/>
|
|
|
|
+ <constructor-arg index="1" value="${system.derby.database.test.path:jdbc:derby://localhost:1527/beyondj;create=false;user=beyondj_user;password=_beyondj_user_}"/>
|
|
|
|
+ </bean>
|
|
|
|
+ <conditional:importIf test="${system.jdbc.database.platform=='DERBY'}" src="props/core-config.properties"
|
|
|
|
+ resource="config/spring/core-derby.xml" />
|
|
|
|
+ -->
|
|
|
|
|
|
<jpa:repositories base-package="com.lenox.repository"></jpa:repositories>
|
|
<jpa:repositories base-package="com.lenox.repository"></jpa:repositories>
|
|
|
|
|
|
@@ -63,8 +59,8 @@
|
|
<property name="password" value="${system.jdbc.password}"/>
|
|
<property name="password" value="${system.jdbc.password}"/>
|
|
</bean>
|
|
</bean>
|
|
|
|
|
|
- <!-- <bean id="systemDataSet" class="com.lenox.dataset.SystemDataSet"/>
|
|
|
|
--->
|
|
|
|
|
|
+ <!-- <bean id="systemDataSet" class="com.lenox.dataset.SystemDataSet"/>
|
|
|
|
+ -->
|
|
<bean id="roleNameParser" class="com.lenox.security.RoleNameParser">
|
|
<bean id="roleNameParser" class="com.lenox.security.RoleNameParser">
|
|
<constructor-arg index="0" value="config/roles.xml"/>
|
|
<constructor-arg index="0" value="config/roles.xml"/>
|
|
</bean>
|
|
</bean>
|
|
@@ -79,7 +75,7 @@
|
|
<constructor-arg index="2" ref="roleNameParser"/>
|
|
<constructor-arg index="2" ref="roleNameParser"/>
|
|
</bean>
|
|
</bean>
|
|
|
|
|
|
- <bean id ="beyondJCoreSecurityManager" class="com.lenox.security.BeyondJCoreSecurityManager">
|
|
|
|
|
|
+ <bean id="beyondJCoreSecurityManager" class="com.lenox.security.BeyondJCoreSecurityManager">
|
|
<property name="elementParser" ref="protectedElementParser"/>
|
|
<property name="elementParser" ref="protectedElementParser"/>
|
|
<property name="featureNameParser" ref="featureNameParser"/>
|
|
<property name="featureNameParser" ref="featureNameParser"/>
|
|
</bean>
|
|
</bean>
|