...
- A database account with access to the Rice database
- LDAP Service Accounts for on
ldap.ucdavis.edu
andldap-dc.ucdavis.edu
fordc=ucdavis,dc=edu
and {{dc=iet,dc=ucdavis,dc=edu} trees. - Procure the UC Davis-specific
rice-api
andrice-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 borderStyle solid title pom.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>
- Download
...
- A data source pointing to the LDAP server
dc=ucdavis,dc=edu
tree to retrieve entries in theou=People
andou=Listings
schemas.Code Block borderStyle solid title classpath: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>
- A data source pointing to the LDAP-DC
dc=it,dc=ucdavis,dc=edu
tree server to retrieve entries in theou=Accounts
schema.Code Block borderStyle solid title classpath: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>
...