Turn on basic authentication for dockerized camunda server

Hi there,

I’m using the docker container for camunda as provided on github. I tried turning on basic authentication for the REST API by taking following steps:

  1. docker exec -it camunda bash
  2. apt-get update
  3. apt-get install vim
  4. Navigate to /camunda/webapps/engine-rest/WEB-INF and edit the web.xml by uncommenting the basic auth xml part
  5. Restart the container

But now REST requests don’t require authentication. Did I miss something? Any help is much appreciated.

Best regards
Felix

Additionally: Adding the Access Control Origin header to the web.xml and restarting the container worked just fine and as to be expected.

Sorry, my bad :expressionless: Apparently /engine-rest/engine doesn’t require authorization. Authorization works fine on other requests.