...
- Set all parameters yourself
Code Block borderStyle solid title classpath:edu/ucdavis/myapp/config/client-config.xml borderStyle solid <config> ... <param name="ldap.pool.maxTotal">-1</param> ... <param name="ldap.pool.testOnBorrow">true</param> </config>
- Tell KIM Identity Service to use default properties while you set one or more parameters
Code Block borderStyle solidtitle classpath:edu/ucdavis/myapp/config/client-config.xml borderStyle solid <config> ... <param name="config.location">classpath:META-INF/common-config-defaults.xml</param> <param name="config.location">classpath:edu/ucdavis/iet/kuali/rice/kim/config/default-properties.xml</param> ... <param name="ldap.pool.testOnBorrow">true</param> ... </config>
Info At minimum, you must set ldap.pool.testOnBorrow to true, or else the PoolingContextSource won't be validating any connections in the pool.
- Tell Rice to use default properties using Spring while you set one or more parameters
Code Block borderStyle solidtitle classpath:edu/ucdavis/myapp/config/application-common.xml borderStyle solid <bean id="config" class="org.kuali.rice.core.config.spring.ConfigFactoryBean"> <property name="configLocations"> <list> <value>classpath:edu/ucdavis/iet/kuali/rice/kim/config/default-properties.xml</value> <value>classpath:edu/ucdavis/myapp/config/client-config.xml</value> </list> </property> </bean>
Code Block borderStyle solidtitle classpath:edu/ucdavis/myapp/config/client-config.xml borderStyle solid <config> ... <param name="ldap.pool.testOnBorrow">true</param> ... </config>