Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

To take advantage of pooling capabilities, testOnBorrow should be set to true.

...

KEW Service Configuration

Declare the service using either of the following methods:

...

UCD has implemented a custom Encryption Service that overrides the default demonstration encryption service.

Property Configuration

The encryption service requires an encryption.key property be set.

Code Block
borderStylesolid
title/usr/local/rice/rice-config.xml

<param name="

...

encryption.

...

key">[some generated encryption key]</param>

Spring Bean Configuration

Declare the service using either of the following methods:

  1. Declare it as part of the rice.additionalSpringFiles property and pass that as a token into the rice bean
    Code Block
    borderStylesolid
    titleclasspath:edu/ucdavisusr/myapplocal/configrice/rice-commonconfig.xml
    <bean<param idname="rice.additionalSpringFiles">classpath:edu/ucdavis/kuali/rice/kew/config/ucd-kew-service.xml</param>
    
    Code Block
    borderStylesolid
    titleclasspath:edu/ucdavis/myapp/config/rice-common.xml
    
    <bean id="rice" class="org.kuali.rice.core.config.RiceConfigurer">
    ...
        <property name="additionalSpringFiles">
            <value>${rice.additionalSpringFiles}</value>
        </property>
    ...
    </bean>
    
  2. Declare it directly in the rice bean using the additionalSpringFiles property (see Rice Bean Configuration)
    Code Block
    borderStylesolid
    titleclasspath: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<value>classpath:edu/ucdavis/kuali/rice/kew/config/ucd-kimkew-service.xml</value>
                ...
            </list>
        </property>
    ...
    </bean>
    
  3. If you're using Spring's ContextLoaderListener, declare it in web.xml
    Code Block
    borderStylesolid
    titlesrc/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/kimkew/config/ucd-kimkew-service.xml
            ...
        </param-value>
    </context-param>
    

...

KNS Service Configuration (DRAFT)

UCD has implemented a custom Encryption Workflow Information Service that overrides the default demonstration encryption service.

Property Configuration

The encryption service requires an encryption.key property be set.

...

borderStylesolid
title/usr/local/rice/rice-config.xml

...

base service, so that Rice can retrieve system users (KR,KFS,etc.) in the database, rather than in LDAP.

Spring Bean Configuration

...

  1. Declare it as part of the rice.additionalSpringFiles property and pass that as a token into the rice bean
    Code Block
    borderStylesolid
    title/usr/local/rice/rice-config.xml
    <param name="rice.additionalSpringFiles">classpath:edu/ucdavis/kuali/rice/kew/config/ucd-kewkns-service.xml</param>
    
    Code Block
    borderStylesolid
    titleclasspath:edu/ucdavis/myapp/config/rice-common.xml
    <bean id="rice" class="org.kuali.rice.core.config.RiceConfigurer">
    ...
        <property name="additionalSpringFiles">
            <value>${rice.additionalSpringFiles}</value>
        </property>
    ...
    </bean>
    
  2. Declare it directly in the rice bean using the additionalSpringFiles property (see Rice Bean Configuration)
    Code Block
    borderStylesolid
    titleclasspath: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-kewkns-service.xml</value>
            </list>
        </property>
    ...
    </bean>
    
  3. If you're using Spring's ContextLoaderListener, declare it in web.xml
    Code Block
    borderStylesolid
    titlesrc/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>
    

KNS Service Configuration (DRAFT)

UCD has implemented a custom Workflow Information Service that overrides the base service, so that Rice can retrieve system users (KR,KFS,etc.) in the database, rather than in LDAP.

  1. kns-service.xml
        </param-value>
    </context-param>
    

UCD Spring Bean Configuration

Declare the service UCD Rice services using either of the following methods:

  1. Declare it as part of the rice.additionalSpringFiles property and pass that as a token into the rice bean
    Code Block
    borderStylesolid
    title/usr/local/rice/rice-config.xml
    <param name="rice.additionalSpringFiles">classpath:edu/ucdavis/kuali/rice/kim/config/ucd-kim-service.xml,classpath:edu/ucdavis/kuali/rice/kim/config/ucd-kew-service.xml,classpath:edu/ucdavis/kuali/rice/kim/config/ucd-kns-service.xml</param>
    
    Code Block
    borderStylesolid
    titleclasspath:edu/ucdavis/myapp/config/rice-common.xml
    <bean id="rice" class="org.kuali.rice.core.config.RiceConfigurer">
    ...
        <property name="additionalSpringFiles">
            <value>${rice.additionalSpringFiles}</value>
        </property>
    ...
    </bean>
    
  2. Declare it directly in the rice bean using the additionalSpringFiles property (see Rice Bean Configuration)
    Code Block
    borderStylesolid
    titleclasspath:edu/ucdavis/myapp/config/rice-common.xml
    <bean id="rice" class="org.kuali.rice.core.config.RiceConfigurer">
    ....core.config.RiceConfigurer">
    ...
        <property name="additionalSpringFiles">
            <list>
                ...
                <value>classpath:edu/ucdavis/kuali/rice/kim/config/ucd-kim-service.xml</value>
         <property name="additionalSpringFiles">         <list><value>classpath:edu/ucdavis/kuali/rice/kim/config/ucd-kew-service.xml</value>
                <value>classpath:edu/ucdavis/kuali/rice/kewkim/config/ucd-kns-service.xml</value>value>
                ...
            </list>
        </property>
    ...
    </bean>
    
  3. If you're using Spring's ContextLoaderListener, declare it in web.xml
    Code Block
    borderStylesolid
    titlesrc/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>.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
            classpath:edu/ucdavis/iet/kuali/rice/kim/config/ucd-kew-service.xml
            classpath:edu/ucdavis/iet/kuali/rice/kewkim/config/ucd-kns-service.xml
            ...
        </param-value>
    </context-param>
    

...