Best documentation is on uPortal wiki: PersonDirectory
uPortal comes with legacy personDirs.xml enabled. To see how the Spring configured version works, we'll switch to that and add a silly attribute.
- In the OtherProperties directory of the uportal 101 Eclipse project find
No Format IsDemo.personDirectory.xml
It has commented out the section pointing to the legacy implementation and uncommented the beans:
No Format |
---|
org.jasig.portal.services.persondir.support.CachingPersonAttributeDaoImpl
org.jasig.portal.services.persondir.support.MergingPersonAttributeDaoImpl
|
and defined two source beans: uPortalJdbcAttributeSource which is the functional equivalent of the legacy implementation and
a new source: PortalDbJndiTestDemoSource