LDAP AD Context.REFERRAL

Hello,

where and how I can set Context.REFERRAL to follow for LDAP AD integration?

Thanks

Hi,

You can override the LDAPIdentityServiceImpl class and add the Context.REFERRAL value.
For newer versions we could add an option to the LDAPConfiguration to set this value.
If you would prefer that, could you create a Github issue?

Best regards,

Tijs

Hi,
thanks for reply.

From documentation:

Note when using Active Directory: people have reported that for Active Directory, the InitialDirContext needs to be set to Context.REFERRAL. This can be passed through the customConnectionParameters map as described above.

Can I set this in flowable-ui-app.properties file?

It doesn’t seem it’s exposed in the properties.
I believe it has to do with this custom connection params: https://github.com/flowable/flowable-engine/blob/master/modules/flowable-ldap/src/main/java/org/flowable/ldap/LDAPConfiguration.java#L154
In theory, you could get the bean and configure it directly there (but haven’t tried it).

correct.
But I configured LDAP AD in flowable-ui-app.properties and it would be great if we can configure also that parameters somehow.