cancel
Showing results for 
Search instead for 
Did you mean: 

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

ageen
Champ in-the-making
Champ in-the-making
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!
5 REPLIES 5

jbarrez
Star Contributor
Star Contributor
You should plug in your own Identity session class, instead of changing the tables.

ageen
Champ in-the-making
Champ in-the-making
Thanks for quick reply.
I can see IdentitySession for jBPM. Or is it the IdentityService?
Are there any samples I can see?

Thanks!

frederikherema1
Star Contributor
Star Contributor
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)

ageen
Champ in-the-making
Champ in-the-making
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.

frederikherema1
Star Contributor
Star Contributor
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.
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.