cancel
Showing results for 
Search instead for 
Did you mean: 

IdentityService vs. UserService

johlyn
Champ in-the-making
Champ in-the-making
Hi,
I'm using activiti-app v1.4.1 and LDAP sync to fill 'user' and 'group' (and also add some users/groups manually from the activiti-app-gui (IdentityManagement))

Then I'm using activiti-engine 5.19 API (RuntimeService, TaskService, etc) in another module of our system.
But, the IdentityService is using the tables 'act_id_user' and 'act_id_group' which make it a bit… hard to find the users I want (the tables are empty)

I have found some forum threads of how to write my own UserService (and connect them to the 'user' and 'group' tables)…
Another solution would be to not only depend on the activiti-engine in our seperate module, but the 'UserService' in activiti-app-logic.jar…

I've been informed that the 'act_id_user' and 'act_id_group' will be removed in a later release, correct?
What would be the proper way?
Just wait on the next release, where IdentityService using the same tables as UserService? Write my own service? Make our seperate module depend on activit-app-logic.jar?

Best regards,
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Indeed, the identityService (and its tables) are not used in the enterprise version.
The reason is because the identityService and its implementation is pretty soft when it comes to security.
They might indeed be removed in a future release.

In the Activiti BPM Suite, there is a UserService, GroupService, … which you can use (as a Spring bean) to get that data.
In your db, you can see they live under USERS, GROUPS, etc. tables.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.