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


#1

Hello,

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).

Thanks!


#3

Hi @pe_brgs,

the rest endpoint in the camunda-bpm-spring-boot-starter-rest is http://localhost:8080/rest/: https://docs.camunda.org/manual/7.11/user-guide/spring-boot-integration/rest-api/

Hope this helps, Ingo