cancel
Showing results for 
Search instead for 
Did you mean: 

Get Activiti Group and User from Custom tables.

rvashishth
Champ in-the-making
Champ in-the-making
Hi,
I need to have some user and groups, as of now i have created users and groups using IdentityService. But my requirement is to access users and groups from my applications custom tables. Without writing the JPA+Hibernate specific codes if possible. Does acitiviti provide out of the box features to access database table(as some esb/bpm tools do) and use them as user and groups.

I need this feature because as of now i am getting my users from my application custom tables and registering them to Activiti using IdentityService, this cause our user data replicated in two different tables. 
3 REPLIES 3

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,
You can re-implement IndentityService.
Similar problem:
http://forums.activiti.org/content/custom-identityservice-soa-environment

Regards
Martin

rvashishth
Champ in-the-making
Champ in-the-making
Hi Martin,

Thanks for suggestion, i gone through ldap integration, I understand to get users and group from ldap.
May be i didnt get the context but my requirement is slightly different, I need to get users from my database and we do not want the users to register in Acitiviti tables, (As per my understanding if i want to use a user in my UserTask that user need to be in ACT_ID_USER table). So is it possible that instead of ACT_ID_USER table i use MY_AAP_USER table for UserTask.

Regards,
Rahul Vashishth

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Rahul,

So is it possible that instead of ACT_ID_USER table i use MY_AAP_USER table for UserTask.

Yes it is. Similar to LDAP integration (or default IdentityService implementation) you can implement your own Identity Service implementation and add it to the engine.

Regards
Martin