...
- Inject it into the rice bean using the additionalSpringFiles property
Code Block borderStyle solid title classpath:edu/ucdavis/myapp/config/rice-common.xml <bean id="rice" class="org.kuali.rice.core.config.RiceConfigurer"> <property name="additionalSpringFiles"> <list> ... <value>classpath:edu/ucdavis/kuali/rice/kim/config/ucd-kim-service.xml</value> ... </list> </property> </bean>
- If you're using Spring's ContextLoaderListener, declare it in web.xml
Code Block borderStyle solid title src/main/webapp/WEB-INF/web.xml <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <context-param> <param-name>contextConfigLocation</param-name> <param-value> ... classpath:edu/ucdavis/iet/kuali/rice/kim/config/ucd-kim-service.xml ... </param-value> </context-param>
KEW Service Configuration
UCD has implemented a custom Encryption Service. Declare the service using either of the following methods:
- Inject it into the rice bean using the additionalSpringFiles property
Code Block borderStyle solid title classpath:edu/ucdavis/myapp/config/rice-common.xml <bean id="rice" class="org.kuali.rice.core.config.RiceConfigurer"> <property name="additionalSpringFiles"> <list> <value>classpath:edu/ucdavis/kuali/rice/kew/config/ucd-kew-service.xml</value> </list> </property> </bean>
- If you're using Spring's ContextLoaderListener, declare it in web.xml
Code Block borderStyle solid title src/main/webapp/WEB-INF/web.xml <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <context-param> <param-name>contextConfigLocation</param-name> <param-value> classpath:edu/ucdavis/kuali/rice/kew/config/ucd-kew-service.xml </param-value> </context-param>
Rice Bean Configuration
Finally, we declare the rice bean and inject all of the data source beans into it along with any /wiki/spaces/UCDK/pages/119111884
...