cancel
Showing results for 
Search instead for 
Did you mean: 

Obtaining and using LDAPUserManagerFactory

einarwh
Champ in-the-making
Champ in-the-making
Hi,

I apologize for asking a naive question, however my efforts at searching the user guide and forums have been in vain.

My context is that I am trying to implement a custom authorization solution for the Activiti REST API using LDAP for users, groups and roles. I have enabled LDAP integration as per ch 17 in the user guide. I would then like to proceed by using the LDAPUserManager to query my LDAP in my custom RestAuthenticator. I take it I need to obtain a LDAPUserManagerFactory to produce the LDAPUserManager for me, but I can't figure out how. I suppose there is something fundamental I am not grasping. Presumably the instance I am looking for is created for me by Spring(?), but where do I go to find it?

Kind regards,
Einar

1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Another easy way (but maybe a bit hacky) is simply to cast the process engine configuration to the impl class and get the factories through there.