Testing the Resource Object
This section describes the following methods for testing the resource
object:
Viewing and Editing a Resource Object
You can confirm the configuration of your resource by viewing the raw
XML in the repository.
To View and Edit a Resource Object
-
Log into the Administrator user interface.
-
Open the Identity Manager Debug pages by entering http://host:port/idm/debug in
the browser.
-
Choose Resource from the pull-down menu located next to the List
Objects button.
-
Click the List Objects button.
The List Objects of
Type: Resource page displays with a list of all resource adapters and Active
Sync-enabled adapters.
Note –
All resource adapter and Active Sync-enabled adapter classes are
based on existing Identity Manager Resource classes.
-
Find the resource object you want to see.
-
To view the resource object, click the View link.
-
To edit the resource object, click the Edit link.
-
When you are finished, click Back.
Testing the Resource Object in Identity Manager
You can use the Find Resources and List Resources pages in the Identity Manager Administrative
interface to test your implementation of a resource object.
Select Resource > List Resource to confirm the following performance
characteristics.
Table 9–32 List Resource Performance Characteristics
Expected Behavior in Interface
|
If This Does Not Occur
|
Identity Manager includes your resource type in the drop-down list of
possible new resources.
|
Confirm that you have added it to the resource.adapters attribute
in the Waveset.properties file.
|
When you open the resource folder, its contents reflect all the <ObjectType> elements that are defined in your resource adapter’s <ObjectTypes> section.
|
Review the <ObjectType> elements in the adapter’s prototypeXML.
|
When you right-click on one of your resource object types, all the supported
features specified in your resource adapter’s <ObjectFeatures> section
per <ObjectType> is available from the menu.
|
Go to the Debug page and view or edit the resource in question to ensure
that its list of <ObjectFeatures> for the <ObjectType> in question is correct.
|
You can create new resources and update existing resource objects.
|
Verify that your resource adapter code is in WEB-INF/classes/com/waveset/adapter/sample
|
The correct ResourceForms have been loaded for each type of operation.
|
|
Select Resource > Find Resources to confirm the following performance
characteristics.
Table 9–33 Find Resources Performance Characteristics
Expected Behavior in the Interface
|
If not...
|
You can set all attributes you expect from the Resources > Find Resources page
|
Check all <ObjectType> elements and associated <ObjectAttribute> elements.
|
A find resource request returns the appropriate resource objects
|
Double-check the query arguments to ensure that the appropriate set
of resource objects will match that query. If it still doesn’t work,
try the same query through another LDAP browser to ensure that it is not a
problem with the query.
|
You can edit and/or delete objects returned from your find request.
|
Check to ensure that the <ObjectFeatures> section
of the <ObjectType> in question includes the Update
feature, which enables editing or the Delete feature, which enables deletion.
|