Custom Identity Provider - Membership

Hi,

I’ve successfully implemented the ReadOnlyIdentityProvider and configure it with ProcessEnginePlugin. But there’s no method correspond to user-group membership (unlike WritableIdentityProvider which have createMembership() and deleteMembership methods).

How do we implement our custom ‘read-only’ membership?

Thanks,
Ashlah

1 Like

I think the membership relation is defined in the createUserQuery() and createGroupQuery() methods implementation.

I’ve checked in my camunda’s Admin Web Application. In my User list, all my User assigned to every Group. But in my Group list, every Group's Users are setted properly. It’s because I forgot to implement my createGroupQuery using the UserId field.

I’ll mark this as an answer when I finish implementing the solution