When running DMS API code sample DmsApiSample.java, it encounters error:
Agent API IsProtected................: SUCCESS
Realm Context Name...........: sample realm
Realm Context OID............: 06-29fc3caf-121f-xxxxxxxxxx-xxxxxxxxxxx
Failed to get DMS context[facility=4 severity=3 reason=0 reason=0 status=34 message=Failed to fetch SiteMinder registration scheme]
According to documentation:
How do you configure a registration scheme for a realm?
The code sample expects "SiteMinder registration scheme" object is already exist, when missing, error will be thrown.
There are two ways to create "SiteMinder registration scheme" object:
1. Use PolicyApi, please see PolicyApiSample.java from SDK javapolicyapi kit.
2. Use XPSExplorer command line tool to manually create the required object.
Release : 12.8.03
Component : SITEMINDER -SDK