public interface ResourceIDMapper
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.
Modifier and Type | Method and Description |
---|---|
String |
getResourceID(String providerID,
String userID)
Returns the resource ID that is associated with the user in a provider.
|
String |
getUserID(String providerID,
String resourceID)
Returns the ID of the user who has the resource ID in a provider.
|
String |
getUserID(String providerID,
String resourceID,
Message message)
Returns the ID of the user who has the resource ID in a provider.
|
String getResourceID(String providerID, String userID)
providerID
- ID of the provider.userID
- ID of the user.String getUserID(String providerID, String resourceID)
providerID
- ID of the provider.resourceID
- ID of the resource.String getUserID(String providerID, String resourceID, Message message)
providerID
- ID of the provider.resourceID
- ID of the resource.message
- Request message.Copyright © 2010-2018, ForgeRock All Rights Reserved.