cancel
Showing results for 
Search instead for 
Did you mean: 

Users from LDAP but groups from Activiti or another SQL

p4w3l
Champ in-the-making
Champ in-the-making
The chapter 17 of Activiti manual shows how to deploy LDAP totally to Users and Groups or individually with OWN implementation.

May we use individual scenario with Activiti's org.activiti.ldap.LDAPUserManagerFactory as a parameter to "customSessionFactories" leaving LdapGroupManagerFactory in "customSessionFactories" not defined so the engine would use default SQL implementation? This is how I use it today with custom classes which I would like to retire.

Here is an example in README.md how it could me more less configured:  https://github.com/biemond/activiti

Activiti 5.18 says that org.activiti.ldap.LDAPUserManagerFactory has no default constructor so it is not possible to configure in activiti.cfg.xml individually ?
2 REPLIES 2

trademak
Star Contributor
Star Contributor
Hi,

Could you give a bit more background about your question / remark. What would like to see changed in the LDAP functionality exactly?

Best regards,

p4w3l
Champ in-the-making
Champ in-the-making
The build-in LDAP support has limitations especially in org.activiti.ldap.LDAPGroupManager queries. It could be nice to allow use org.activiti.ldap.LDAPUserManager for USERS and existing ( not sure about the class name ) SQL-Activiti-based Group manager for GROUPS. This would allow to manage users in LDAP and groups natively in Activiti. That way the overall functionality would be rich.