Versions Compared

Key

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

...

  1. A database account with access to the Rice database
  2. LDAP Service Accounts for on ldap.ucdavis.edu and ldap-dc.ucdavis.edu for dc=ucdavis,dc=edu and {{dc=iet,dc=ucdavis,dc=edu} trees.
  3. Procure the UC Davis-specific rice-api and rice-impl JARs and all transitive dependencies using either of the following methods:
    • Download ucd-rice-standalone-server-impl WAR from Artifactory . This WAR contains all dependencies.
    • Maven users: Add ucd-rice-impl as a dependency in your project.
      Code Block
      borderStylesolid
      titlepom.xml
      <repositories>
          <repository>
              <id>ietmavenrepositori</id>
              <name>IET Maven Repository</name>
      	<url>https://psl-95.ucdavis.edu/repo</url>
          </repository>  
      </repositories>
      
      <properties>
          <ucd-rice-impl.version>[some UCD Rice Implementation version]</ucd-rice-impl.version>
      </properties>
      
      <dependencies>
          <dependency>
              <groupId>edu.ucdavis.kuali.rice</groupId>
              <artifactId>ucd-rice-impl</artifactId>
              <version>${ucd-rice-impl.version}</version>               
          </dependency>	
      </dependencies>
      

...

  1. A data source pointing to the LDAP server dc=ucdavis,dc=edu tree to retrieve entries in the ou=People and ou=Listings schemas.
    Code Block
    borderStylesolid
    titleclasspath:edu/ucdavis/myapp/config/application-data.xml
    <bean id="ldapContextSource" class="org.springframework.ldap.core.support.LdapContextSource">
        <property name="url" value="${ldap.url}" />
        <property name="base" value="${ldap.base}" />
        <property name="userDn" value="${ldap.user}" />
        <property name="password" value="${ldap.password}" />
        <property name="pooled" value="false" />
    </bean>
    
  2. A data source pointing to the LDAP-DC dc=it,dc=ucdavis,dc=edu tree server to retrieve entries in the ou=Accounts schema.
    Code Block
    borderStylesolid
    titleclasspath:edu/ucdavis/myapp/config/application-data.xml
    <bean id="ldapItContextSource" class="org.springframework.ldap.core.support.LdapContextSource">
        <property name="url" value="${ldap.it.url}" />
        <property name="base" value="${ldap.it.base}" />
        <property name="userDn" value="${ldap.it.user}" />
        <property name="password" value="${ldap.it.password}" />    	
        <property name="pooled" value="false" />
    </bean>
    

...