You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by Giulia Ferretti via user <us...@syncope.apache.org> on 2022/12/13 09:37:26 UTC

Group membership in REST connector

Hi everyone,

we are using Apache Syncope 2.1.10 and we need to configure a REST connector.
In addition to managing ACCOUNT type objects, this connector must also manage GROUPS (and MEMBERSHIPS).
We are having difficulties developing group assignment management.

To update the user's status, and propagate it on the connected resource, in the UPDATE script you have to use:
if (attributes.containsKey("__ENABLE__"))

When you assign a group from the console, is there a keyword to determine it? We tried with "__MEMBERSHIP__", but it doesn't seem to work.
If we print all keys in attributes's map, there is no key for "member".
Can you help us?

Thank you all
best reguards
Giulia Ferretti