Camunda 7 - Engine-rest authentication cache Possible?

Camunda Version : 7.20.0 with Springboot starter
I am using engine-rest with LDAP authentication and it seems to making LDAP calls for each api request to engine-rest.

Is this possible to reuse authentication ( cache ?) on Camunda server to save some calls to LDAP servers.
Why : During performance testing we are hitting rate limiting from LDAP servers.

Hi @ad_sahota,

It’s a security feature.

You can bypass this with an engine plugin, Here is an example for this: camunda-7-code-examples/snippets/authentication-filter-with-bypass at main · camunda-consulting/camunda-7-code-examples · GitHub

Hope this helps, Ingo

1 Like

Thanks @Ingo_Richtsmeier for link.
I am able to bypass the rest auth with less effort as I am using springboot starter so tweaking rest auth filter is less complicated.
Seems like no auth caching is possible due to stateless design of engine-rest.

Hi @ad_sahota,

good to read that you could resolve the challenge on Spring Boot much easier than the old plugin.

Maybe you can share more details here or as a pull request to the snippet for other members?

Cheers, Ingo

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.