toolbox.web
Class LDAPUserInfoService

Package class diagram package LDAPUserInfoService
java.lang.Object
  extended by toolbox.services.BaseService
      extended by toolbox.services.ldap.LDAPService
          extended by toolbox.web.LDAPUserInfoService
All Implemented Interfaces:
Service, UserInfoService

public class LDAPUserInfoService
extends LDAPService
implements UserInfoService

UserInfoService implementation to obtain user information from an LDAP directory.


Constructor Summary
LDAPUserInfoService()
          Default constructor.
 
Method Summary
 java.util.Map getUserInfo(java.lang.String userId)
          Perform a lookup against an LDAP directory using the provided user identifier and return the information as a Map instance.
 
Methods inherited from class toolbox.services.ldap.LDAPService
create, destroy, getLDAPWorker, search, search
 
Methods inherited from class toolbox.services.BaseService
getConfigHome, getName, getProperties, getProperty, getXMLProperties, logConfig, logFine, logFiner, logFinest, logInfo, logSevere, logWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface toolbox.web.UserInfoService
destroy
 

Constructor Detail

LDAPUserInfoService

public LDAPUserInfoService()
Default constructor.

Method Detail

getUserInfo

public java.util.Map getUserInfo(java.lang.String userId)
Perform a lookup against an LDAP directory using the provided user identifier and return the information as a Map instance.

Specified by:
getUserInfo in interface UserInfoService
Parameters:
userId - String containing the user identifier.
Returns:
Map instance containing the user information or null if the information cannot be returned.