Rexx connector
This page describes how to use OpenIAM Rexx Connector
The Rexx connector integrates OpenIAM with the Rexx HR system. It synchronizes users from Rexx to OpenIAM, and exports user data to Rexx as a CSV file delivered on a schedule.
Import / synchronize users from Rexx
✅
Export users to Rexx (batched CSV)
✅
Test connection
✅
Delete propagation to Rexx
Configurable — off by default (org.openiam.connector.rexx.delete=false)
Use cases
Using Rexx HR as an authoritative source — importing employees into OpenIAM.
Exporting identity data back to Rexx in its expected CSV format, on an hourly batch schedule.
Versions and compatibility
The end application is Rexx HR. The connector does not call a record-at-a-time API: it writes the users it is given to a CSV file and POSTs that file to Rexx's interface on a timer, so there is no API version to match — what matters is the interface IDs Rexx issues you.
Platform
Rexx HR
Interface
HTTPS, with the export delivered as a text/csv upload
Host
The managed system's URL
Authentication
A Rexx API token
Addressing
Numeric interface IDs for the import, export and test APIs, set on the managed system
Prerequisites
A Rexx API authentication token.
The numeric interface IDs for the test, export, and import APIs (from your Rexx configuration).
Network access from the connector host to the Rexx API host (HTTPS).
Installing the connector
Kubernetes
Enable the connector in your deployment configuration; no separate installation is required.
RPM
Use the connector service unit (openiam-connector@rexx-connector-rabbitmq) or run the connector JAR — see Connectors via RPM.
Starting, stopping, and restarting
RPM (systemd)
systemctl start|stop|restart openiam-connector@rexx-connector-rabbitmq
Kubernetes
kubectl rollout restart the connector deployment.
Command-line parameters and properties
The connector is a Spring Boot application. Its defaults ship inside the jar, and you override them in either of two places:
An external property file, read at
${confpath}/conf/properties/rexx-connector-rabbitmq.properties. The file is optional, andconfpathis itself a system property, set with-Dconfpath=/data/openiam/.Directly on the command line, as
-Darguments, which win over the file.
org.openiam.connector.queue
REXX_Connector_1_Request
Must match the connector record in OpenIAM.
org.openiam.rexx.send.rate
3600000
Interval (ms) of the scheduled batch send to Rexx — saved changes are queued and pushed on this schedule (default: hourly).
org.openiam.connector.rexx.delete
false
When false, delete operations are suppressed during save processing; set true to allow deletions to propagate to Rexx.
org.openiam.rexx.send.rate
3600000
How often, in milliseconds, the accumulated CSV is sent to Rexx. One hour as shipped
org.openiam.connector.rexx.delete
false
Whether the CSV file is deleted after it has been sent
The connection details themselves are not set here — they are managed system parameters, covered under Configuring the managed system.
Verifying the connector is running
In the Webconsole, open the managed system — the Running connector status indicator must be green.
Click Test Connection — it must return success (uses the Test API Id interface).
In the RabbitMQ management console, confirm the REXX_Connector_1_Request queue exists and has a consumer.
After provisioning changes, check /tmp/Users_Export.csv on the connector host and confirm the batch is delivered on the next send cycle.
Troubleshooting
Changes don't appear in Rexx immediately
Batched delivery
Expected — exports are sent hourly (or when the CSV header changes). Adjust org.openiam.rexx.send.rate if needed.
Deletions never reach Rexx
Delete propagation off by default
Set org.openiam.connector.rexx.delete=true and restart the connector.
Duplicate or stale rows in the export
Unique Attribute misconfigured
The Unique Attribute must identify each user uniquely — rows are replaced by matching it.
Test connection fails
Wrong token or Test API Id
Verify the Password (token) and the numeric interface IDs.
Delete, suspend, resume or password reset reports success but nothing changes
Those operations are stubs
Delete, suspend, resume, password reset and group create/delete each return SUCCESS without calling rexx. Create and update do work.
See also: general connector troubleshooting and the connector error-code reference.
Registering the connector in OpenIAM
Register the connector under Provisioning → Connectors and attach it to the managed system — see Registering the connector.
Configuring the managed system
Go to Webconsole → Provisioning → Managed System → Rexx Managed system and configure the fields for your environment:
Host
The Rexx API host.
Password
The authentication token you have for the Rexx API.
Test API Id
The numeric interface ID used for test calls.
Export API Id
The numeric interface ID used for exporting users to Rexx.
Import API Id
The numeric interface ID used for importing users from Rexx.
Unique Attribute
The name of the Rexx attribute that must be unique for every user.
Attribute mapping and policy map
Provisioning to Rexx is performed according to the Rexx system requirement: OpenIAM sends user data to Rexx in a CSV file whose header consists of the attribute names in the policy map for the Rexx managed system. Adjust the policy map to control which attributes are exported.
Reconciliation and synchronization
The import API supplies Rexx users as source records — configure a sync against the managed system as described in Configuring synchronization.
How the CSV export works
During provisioning, every user creates a new row in the file /tmp/Users_Export.csv. If information is written for a user who already has an entry in the file (recognized by the Unique Attribute), the old row is deleted and a new one is added.
The file is sent to the Rexx HR system in two cases:
Every hour (the
org.openiam.rexx.send.rateschedule), orWhen the header of the CSV file changes — i.e., the policy map was changed or the order of attributes changed.
Last updated
Was this helpful?