com.raritantechnologies.federated.eRoom
Class ERoomUserInfoReader

java.lang.Object
  extended bycom.raritantechnologies.federated.eRoom.ERoomUserInfoReader
All Implemented Interfaces:
IConfigurable, IUserInfoReader

public class ERoomUserInfoReader
extends java.lang.Object
implements IUserInfoReader

Connects to one or more eRooms and determines the set of eRooms that a user has access to.

XML Configuration Template:
 <UserInfoReader class="com.raritantechnologies.federated.eRoom.ERoomUserInfoReader" 
                    eRoomSecurityManagers="[ comma separated list of ERoomSecurityManagers ]"
                    uriPattern="[ optional pattern to store eRoom URI: use {EROOM_NAME} {EROOM_URL} to specify 
                                  where parameter values are to be inserted ]" >

 </UserInfoReader>
 

Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

Constructor Summary
ERoomUserInfoReader()
           
 
Method Summary
 ILoginInfo[] getAllUserInfo()
           
 java.lang.String[] getERoomList(ILoginInfo userInfo)
           
 java.lang.String[] getERoomList(ILoginInfo userInfo, java.lang.String uriPattern)
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void readUserInfo(ILoginInfo userInfo)
          Adds user attributes to a userInfo object.
 void setSessionCacheMap(java.util.Map sessionCacheMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERoomUserInfoReader

public ERoomUserInfoReader()
Method Detail

readUserInfo

public void readUserInfo(ILoginInfo userInfo)
Description copied from interface: IUserInfoReader
Adds user attributes to a userInfo object.

Specified by:
readUserInfo in interface IUserInfoReader

getERoomList

public java.lang.String[] getERoomList(ILoginInfo userInfo)

getERoomList

public java.lang.String[] getERoomList(ILoginInfo userInfo,
                                       java.lang.String uriPattern)

getAllUserInfo

public ILoginInfo[] getAllUserInfo()
Specified by:
getAllUserInfo in interface IUserInfoReader

setSessionCacheMap

public void setSessionCacheMap(java.util.Map sessionCacheMap)
Specified by:
setSessionCacheMap in interface IUserInfoReader

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IConfigurable