##### To Configure a ResourceID Mapper

`com.sun.identity.liberty.ws.interfaces.ResourceIDMapper` is an interface used to map a user identifier to the resource identifier associated with it. Different implementations may be developed with the implementing class and added to the attribute. Following is the procedure for adding a new resourceID mapper to the Discovery Service. The starting point is the Discovery Service configuration screen within the Web Services module.

1. Click New to display the new mapper attributes or click on the name of a configured mapper to modify it.
2. Provide values for the mapper attributes based on the following information:
   Provider ID

     This attribute takes as a value a URI that points to the Discovery Service. The value is written in the format: `http://`host`:`port`/amserver/Liberty/disco`

   ID Mapper

     Enter the name for the implementing class.

3. Click OK to complete the mapper configuration.
4. Click Save on the Discovery Service page to complete the service configuration.