and more in a single search tool across platforms. Read the announcement here. |
09/01/2023 07:24 AM - edited 09/01/2023 07:25 AM
Hello
We have implemented a Java class for JAR connector to reconcile and provisioning accounts. it works perfectly.
Now it is time to manage the entitlement reconcile and assign/revoke to the accounts. But I am stuck at how to configure AddAccessJSON, RemoveAccessJSON and ImportAccessJSON?
Can you share an example with me?
Thanks,
09/06/2023 04:20 AM
Hi @alc
Please go through the doc- https://docs.saviyntcloud.com/bundle/JAR-v23x/page/Content/Understanding-the-Integration-between-EIC...which has the examples of the json
Thanks
Darshan
09/07/2023 06:20 AM
Hello Darshan,
Thank you very much to pick up my questions again! Really appreciate your kind help.
I have checked out the link you shared. and there is no examples for add access and remove access.
When I try it out in the system, I can see the addAccess and removeAccess is triggered and the Jar classes is executed. However, when print out the passed arguments such as accountID and entitlementID, it did not convert it to actual value with following configuration and debugging output:
{
"fullyQualifiedClassName": "com.external.connector.MyConnector",
"methodName": "addAccess",
"arguments": {
"DEBUG_MODE":"true",
"HEADER_LOGONID":"${account.accountID}",
"HEADER_entitlementID":"${entitlementValue.entitlementID}"
}
}
"2023-09-07T11:51:09.117+00:00","ecm-worker","","","","07-Sep-2023 11:51:08.423 INFO [quartzScheduler_Worker-5] com.external.connector.MyConnector.printArgumentMap My Connector.1.0: Start to print passed in arguments map object of operation addAccess_start
"
"2023-09-07T11:51:09.117+00:00","ecm-worker","","","","propertyName: DEBUG_MODE | propertyType: java.lang.String | propertyValue: true
"
"2023-09-07T11:51:09.117+00:00","ecm-worker","","","","propertyName: HEADER_LOGONID | propertyType: java.lang.String | propertyValue: ${account.accountID}
"
"2023-09-07T11:51:09.117+00:00","ecm-worker","","","","propertyName: HEADER_entitlementID | propertyType: java.lang.String | propertyValue: ${entitlementValue.entitlementID}
Thanks
09/07/2023 06:50 AM
Hi @alc
Sorry about the miss, i thought of create account and remove account json. In jar connector we dont support add/remove access json. you can check the doc on what invoking methods are supported.
https://docs.saviyntcloud.com/bundle/JAR-v23x/page/Content/Invoking-Methods.htm
Thanks
Darshan
09/12/2023 04:30 PM - edited 09/12/2023 04:31 PM
Thanks Darshan for your reminder.
Since we must be able support add/remove access via JAR connector, I have to try it out. fortunately I figured out how to make it work. Actually the JAR Connector support it but not documented. I cannot get the accountID and entitlementID within the add/removeAccess operation, but I can get the accountName, entitlementName from the task and other attributes. so I can fulfill the request with these information.
Thanks,