Protected REST API in Embedded Camunda configuration?

Hi,
Camunda newbie here…

I’m trying out the embedded camunda as per here and have a working pom.xml and spring webapp.
https://docs.camunda.org/get-started/spring/embedded-process-engine/

Any tips about how to setup protected REST API as mentioned here
since there’s not a web.xml in this case ?

Thanks in advance!

Hi there,

Could you try creating a servlet filter for all incoming requests on the REST layer just like the HTTPBasicAuthenticationFilter?

Thanks,

Hi @npatil,

could you please take a look at https://github.com/camunda/camunda-bpm-examples/tree/master/deployment/embedded-spring-rest. Is that what you are looking for?

Cheers,
Askar.