MIFOSX-117: integrate andreas work on UGD.

This commit is contained in:
Keith Woodlock
2013-09-21 13:28:59 +01:00
parent 01368e59b2
commit c607c9bba5
33 changed files with 1602 additions and 24 deletions
@@ -14,10 +14,8 @@
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLInnoDBDialect" />
<!-- <property name="hibernate.hbm2ddl.auto" value="update"/> -->
<property name="hibernate.jdbc.batch_size" value="100" />
<property name="hibernate.order_inserts" value="true" />
<!-- <property name = "hibernate.show_sql" value = "true" /> -->
</properties>
</persistence-unit>
</persistence>
@@ -36,7 +36,10 @@
org.mifosplatform.portfolio.savingsaccount.*,
org.mifosplatform.portfolio.*,
org.mifosplatform.useradministration.*,
org.mifosplatform.mix.*">
org.mifosplatform.mix.*,
org.mifosplatform.template.*,
org.mifosplatform.template.service.*,
org.mifosplatform.useradministration.*">
<context:exclude-filter expression="org.springframework.stereotype.Controller" type="annotation" />
</context:component-scan>
@@ -51,6 +54,7 @@
<jpa:repositories base-package="org.mifosplatform.portfolio.*" />
<jpa:repositories base-package="org.mifosplatform.mix.domain" />
<jpa:repositories base-package="org.mifosplatform.scheduledjobs.domain" />
<jpa:repositories base-package="org.mifosplatform.template.domain" />
<import resource="infrastructure.xml" />
@@ -29,12 +29,6 @@
<beans:property name="realmName" value="Mifos Platform API" />
</beans:bean>
<!--
<beans:bean id="basicAuthenticationProcessingFilter" class="org.mifosplatform.infrastructure.security.filter.TenantAwareBasicAuthenticationFilter" depends-on="cacheManager">
<beans:constructor-arg ref="authenticationManager" />
<beans:constructor-arg ref="basicAuthenticationEntryPoint" />
</beans:bean>
-->
<beans:bean id="passwordEncoder" class="org.springframework.security.authentication.encoding.ShaPasswordEncoder">
<beans:constructor-arg value="256"/>
</beans:bean>
@@ -49,7 +43,7 @@
<beans:property name="saltSource" ref="saltSource" />
</beans:bean>
<authentication-manager alias="authenticationManager">
<authentication-manager alias="authenticationManager" erase-credentials="false">
<authentication-provider ref="customAuthenticationProvider" />
</authentication-manager>
</beans:beans>