toolbox.web
Interface UserInfoService

Package class diagram package UserInfoService
All Known Implementing Classes:
LDAPUserInfoService

public interface UserInfoService

Interface defining a service that can be implemented to obtain user information from a user repository. Implementations of this interface will be used by the UserInfoFilter to obtain the information of web application users.


Method Summary
 void destroy()
          Discard the service.
 java.util.Map getUserInfo(java.lang.String userId)
          Perform a lookup against the user repository using the provided user identifier and return the information as a Map instance.
 

Method Detail

getUserInfo

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

Parameters:
userId - String containing the user identifier.
Returns:
Map instance containing the user information or null if the information cannot be returned.

destroy

void destroy()
Discard the service.