Versions Compared

Key

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

...

Move the File

In uPortal 2, the file was named personDirectory.xml and located in /uPortal/properties. In uPortal 3, the file is named personDirectoryContext.xml and located in /uPortal/portal-impl/src/main/resources/properties/contexts.

Rename the Package

Replace all instances of org.jasig.portal.services.persondir in the file with org.jasig.services.persondir.

CachingPersonAttributeDaoImpl

...

DataSource Access

In the uPortal 2 file, access to the Portal DataSource was done via Spring's MethodInvokingFactoryBean. Although the API is still available, this will not work in uPortal 3 and will cause the portal to fail to start. The portal's DataSource is now available as a Spring bean named PortalDB which should be injected instead.

...