uPortal 2.4.1
API Documentation

org.jasig.portal.services
Class PersonDirectory

java.lang.Object
  extended byorg.jasig.portal.services.PersonDirectory

public class PersonDirectory
extends java.lang.Object

Extract eduPerson-like attributes from whatever LDAP directory or JDBC database happens to be lying around in the IT infrastructure.

Multivalued attributes are supported as of uPortal 2.3. Parameterized by uPortal/properties/PersonDirs.xml. Original author is Howard.Gilbert@yale.edu.

Version:
$Revision: 1.35.2.4 $
Author:
Howard Gilbert

Field Summary
static java.util.HashSet propertynames
           
 
Method Summary
static java.util.Iterator getPropertyNamesIterator()
           
static RestrictedPerson getRestrictedPerson(java.lang.String uid)
          Returns a reference to a restricted IPerson represented by the supplied user ID.
 java.util.Hashtable getUserDirectoryInformation(java.lang.String username)
          Run down the list of LDAP or JDBC sources and extract info from each
 void getUserDirectoryInformation(java.lang.String uid, IPerson m_Person)
           
static PersonDirectory instance()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertynames

public static java.util.HashSet propertynames
Method Detail

instance

public static PersonDirectory instance()

getPropertyNamesIterator

public static java.util.Iterator getPropertyNamesIterator()

getUserDirectoryInformation

public java.util.Hashtable getUserDirectoryInformation(java.lang.String username)
Run down the list of LDAP or JDBC sources and extract info from each


getUserDirectoryInformation

public void getUserDirectoryInformation(java.lang.String uid,
                                        IPerson m_Person)

getRestrictedPerson

public static RestrictedPerson getRestrictedPerson(java.lang.String uid)
Returns a reference to a restricted IPerson represented by the supplied user ID. The restricted IPerson allows access to person attributes, but not the security context.

Parameters:
uid - the user ID
Returns:
the corresponding person, restricted so that its security context is inaccessible

uPortal 2.4.1
API Documentation