REST
Overview
The REST connector is designed to manage provisioning by relying on RESTful service.
Installation
Follow these steps to run the stand-alone connector server:
Download the connector server jar file and store it in the connector server directory (any directory).
Download the REST connector jar file and store it in the bundles subdirectory.
Start the connector server. For more information, check the page about this topic.
Supported operations
Authenticate
ResolveUsername
Create
Delete
Update
Search
Test
Schema
Sync
ScriptOnConnector
UpdateAttributeValues
Configuration
Configuration Properties
The following table describes all of the properties that you can specify for the configuration:
Configuration Property | Type | Required | Description |
---|---|---|---|
Base address | String | X | Base URL for the target RESTful service |
Accept | String | Â | Value for the HTTP |
Content-Type | String | Â | Value for the HTTP |
Username | String | Â | Username for authentication to the target RESTful service |
Password | GuardedString | Â | Password for authentication to the target RESTful service |
Client id | String | Â | Client id for authentication to the target RESTful service |
Client secret | String | Â | Client secret for authentication to the target RESTful service |
Access Token node id | String | Â | Field id of the JSON object node, returned from target Access Token RESTful service, that contains token value |
Access Token base address | String | Â | Base address of the target RESTful service used to obtain access token |
Access Token Content-Type | String | Â | Value for the HTTP Content-Type header for the target Access Token RESTful service; defaults to application/x-www-form-urlencoded |
Clear Text Password To Script | Boolean | Â | Should password be passed to scripts in clear text? |
Authenticate Script | String | Â | Authenticate groovy script |
Authenticate Script File Name | String | Â | Path of authenticate groovy script file |
Delete Script | String | Â | Delete groovy script |
Search Script | String | Â | Search groovy script |
Update Script File Name | String | Â | Path of update groovy script file |
Create Script | String | Â | Create groovy script |
Search Script File Name | String | Â | Path of search groovy script file |
Create Script File Name | String | Â | Path of create groovy script file |
Delete Script File Name | String | Â | Path of delete groovy script file |
Schema Script File Name | String | Â | Path of schema groovy script file |
Reload Script On Execution | Boolean | Â | By default, scripts are loaded and compiled when a connector instance is created and initialized. Use only for test/debug purpose since this can have a significant impact on performance. |
Test Script | String | Â | Test groovy script |
Test Script File Name | String | Â | Path of test groovy script file |
Update Script | String | Â | Update groovy script |
ResolveUsername Script | String | Â | ResolveUsername groovy script |
ResolveUsername Script File Name | String | Â | Path of ResolveUsername groovy script file |
Scripting Language | String | Â | The scripting language; only default value |
Sync Script File Name | String | Â | Path of sync groovy script file |
Sync Script | String | Â | Sync groovy script |
Â