| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The class ResourceIDMapper is an interface that is 
 used to map between an userID and the ResourceID
 associated with it.
 
 A different implementation of the interface may be developed by different
 service provider. The implementation class(s) should be given to the provider
 that hosts discovery service. The mapping between the providerID
 and the implementation class can be configured through the
 Class for ResourceID Mapper Plugin field in Discovery service.
| Method Summary | |
|  java.lang.String | getResourceID(java.lang.String providerID,
              java.lang.String userID)Returns the resource ID that is associated with the user in a provider. | 
|  java.lang.String | getUserID(java.lang.String providerID,
          java.lang.String resourceID)Returns the ID of the user who has the resource ID in a provider. | 
|  java.lang.String | getUserID(java.lang.String providerID,
          java.lang.String resourceID,
          Message message)Returns the ID of the user who has the resource ID in a provider. | 
| Method Detail | 
public java.lang.String getResourceID(java.lang.String providerID,
                                      java.lang.String userID)
providerID - ID of the provider.userID - ID of the user.
public java.lang.String getUserID(java.lang.String providerID,
                                  java.lang.String resourceID)
providerID - ID of the provider.resourceID - ID of the resource.
public java.lang.String getUserID(java.lang.String providerID,
                                  java.lang.String resourceID,
                                  Message message)
providerID - ID of the provider.resourceID - ID of the resource.message - Request message.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||