The Celum User Service extension provides a REST API to query users and groups. This extension supports all the important requests around users and groups, unlike the CELUM repository, which only supports querying users, groups and if a certain user is in a certain group (so to get all groups of a user, you have to check in each group if the user is a member of it, very bad time complexity).
To be configured in {home}/appserver/conf/custom.properties
type: string, required: yes, default: -
The license key for the plugin (product: camundaCore), provided by brix.
type: string, required: yes, default: _Celum123_
The security token to be used for the REST API.
The requests have to be sent to /celumUserService/...
. The token has to be provided as query parameter for all the requests. E.g. http://localhost:8881/celumUserService/users?token=_Celum123_
to get all users or http://localhost:8881/celumUserService/usersInGroup?token=_Celum123_&groupId=489
to get all users in the group with id 489.
All the GET requests support the two following query parameters:
The GET requests will either return a list of users or groups, and the POST requests will just return an empty response with status 200 (OK) on success.
Get a list of all users.
Get the specified users.
Get a list of all groups.
Get the specified groups.
Get all users (members) of a group (non-recursive, so only the users directly linked to this group are returned, and those who are members of sub-groups are ignored).
Get all sub-groups of the specified group (non-recursive, only direct children of the specified group are returned).
Update a user. Omit the id (or set it to -1) to create a new user.
Update a group. Omit the id (or set it to -1) to create a new group.
Adds a user or group to a parent group.
Remove a user or group from a parent group.
Camunda Core | CELUM (min. version) |
---|---|
1.0.0 | 5.13.4 (tested with 6.4) |
Released 2020-03-09
Initial version