Integration REST API with spring-security at testing (spring-boot-starter embedded)


Since Camunda runs with JAX-RS with Jersey, is it possible to integrate with spring-security at testing (JUnit), mocking the authenticated user?

All goes fine, but when I try to mock the authentication, Spring is no longe able to find Camunda REST endpoints (404 error).


Hi @pe_brgs,

the rest endpoint in the camunda-bpm-spring-boot-starter-rest is http://localhost:8080/rest/:

Hope this helps, Ingo