Hi i am using comunda 7 run (tomcat bundle) and i just dont get it. I have downloaded it and using mysql as Database. I only use NodeJS for external tasks but how do i enable REST auth using this default setup? Is there some setting to enable it or do i have to write some code for that?
Hi @mbrain,
in the Tomcat distro it is quite easy to enable authorization. Just edit the web.xml under server\apache-tomcat-9.0.52\webapps\engine-rest\WEB-INF
and remove the comments around lines 53-72 (may change for different versions, I just picked 7.16.1-ee).
Save the file, restart the server and the client will respond with 401 if you don’t provide a user with password.
Hope this helps, Ingo