Using customized user table/column name instead of ACT_ID_*?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2011 03:54 AM
I'm wondering if we can use customized table name and column name, instead of the built in ACT_ID_* tables?
Reason asking this is that, we have our own user / group tables. So what's the usual way we supposed to deal with this scenario?
Thanks!
Reason asking this is that, we have our own user / group tables. So what's the usual way we supposed to deal with this scenario?
Thanks!
Labels:
- Labels:
-
Archive
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2011 05:10 AM
You should plug in your own Identity session class, instead of changing the tables.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2011 01:38 PM
Thanks for quick reply.
I can see IdentitySession for jBPM. Or is it the IdentityService?
Are there any samples I can see?
Thanks!
I can see IdentitySession for jBPM. Or is it the IdentityService?
Are there any samples I can see?
Thanks!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2011 03:15 AM
Lots of topic about that on the forum, eg. http://forums.activiti.org/en/viewtopic.php?f=4&t=1321&hilit=identitysession (just do a quick search, you will find some pointers)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2011 10:23 PM
I couldn't find the IdentifySession in Activiti, I know there is one for jBPM.
So is it changed to IdentifyService already, which means I need to provide a custom IdentityServiceImpl?
After having this custom IdentityServiceImpl, add it to spring bean file, and also reference it from within the processEngineConfiguration by property "identityService". Is it right?
I couldn't find any documentation regarding this, not in the User Guide.
I can find random some posts for jBPM regarding IdentifySession, not quite helpful though,
besides, that configuration seems not the same as IdentifyService.
Thanks.
So is it changed to IdentifyService already, which means I need to provide a custom IdentityServiceImpl?
After having this custom IdentityServiceImpl, add it to spring bean file, and also reference it from within the processEngineConfiguration by property "identityService". Is it right?
I couldn't find any documentation regarding this, not in the User Guide.
I can find random some posts for jBPM regarding IdentifySession, not quite helpful though,
besides, that configuration seems not the same as IdentifyService.
Thanks.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2011 04:28 AM
You need to have your own org.activiti.engine.impl.interceptor.SessionFactory which creates sessions of type IdentitySession (see IdentitySessionFactory), using customSessionFactories property on process engine config.
As joram said, this can be found in other posts on the forum.
As joram said, this can be found in other posts on the forum.
