cancel
Showing results for 
Search instead for 
Did you mean: 

integrating user information of Activiti with external table instead ACT_ID_USER

sureshtellakula
Champ in-the-making
Champ in-the-making
Hi Users,
ACT_ID_USER table is used for maintaining in Activiti users information.Instead of using ACT_ID_USER table for maintain user information can i use our own table  for maintaining user information for Activiti functionality.
Already we are maintaining one user table in my project and we want to use same user table for Activiti functionality.

Please provide me solution for this.

regards,
suresh
7 REPLIES 7

trademak
Star Contributor
Star Contributor
Yes, that's just fine. What information do you need?

sureshtellakula
Champ in-the-making
Champ in-the-making
Hi,
I am maintaining user information in one table in my project and this user table consists of user name,first name,last name,password fields.I want to integrate this user information with Activiti. Is it mandatory to use ACT_ID_USER table in Activiti for user information or can we configure our own table with Actitviti instead of ACT_ID_USER table.

Which is the best way to integrate user information of my project with Activiti.

regards,
suresh

martin_grofcik
Confirmed Champ
Confirmed Champ
Could you implement your own identity service?
http://www.activiti.org/userguide/#apiEngine

sureshtellakula
Champ in-the-making
Champ in-the-making
Hi,
Instead of developing our own Identity service is it possible to integrate with our own table for user functionality.
As per my opinion we can not integrate our own table for Activiti user functionality. Please let me know my opinion correct or not.

regards,
suresh

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi sureshtellakula,

Is it mandatory to use ACT_ID_USER table
No, it is not mandatory

can we configure our own table with Actitviti instead of ACT_ID_USER table.
Identity service needs logic to transform data from table to service which is needed. That's why identity service implementation is needed.

sureshtellakula
Champ in-the-making
Champ in-the-making
Hi,
Thank you for valuable Information. Please send me tutorial or sample program for implementing our own identityService which should call our own table instead of ACT_ID_USER tablet able. So that i can implement our own identity service.

regards,
suresh

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Suresh,

There is one implementation of IdentityService in the activiti's sources.
org.activiti.engine.impl.IdentityServiceImpl
e.g.

  public boolean checkPassword(String userId, String password) {
    return commandExecutor.execute(new CheckPassword(userId, password));
  }