Hi,
we are using Activiti 6.0.0 and developed a case management application. For usertasks, we created another second service, which in turn calls runtime/tasks/taskid, post method to complete the user tasks, but when the second service tries to hit the url, https://localhost:8100/runtime/tasks/taskid post method, it asks for authentication, so it gives 401,
We use our oracle db, for acitiviti tables, instead of inbuild h2 db. when we hit the post url with credentials admin/admin in the headers, it works, but we do not want the basic authentication in 6.0.0.
I tried disabling through, @EnableAutoConfiguration(exclude = {
org.activiti.spring.boot.RestApiAutoConfiguration.class,
org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration.class,
org.activiti.spring.boot.SecurityAutoConfiguration.class}) but it didnt work for 6.0,
Kindly help us to avoid this authentication. Thanks in advance.
-Suganthi
How that relates to ADF forum?
I moved it in the activiti channel
Maybe https://community.alfresco.com/thread/224851-disable-activiti-spring-rest-api-basic-authentication#c... will be of help - I'm guessing you followed the comment earlier up in that thread. Perhaps you could share what behaviour you see. I'm assuming you're using boot 1.x. The source code for the 6.x autoconfiguration classes is at Activiti/modules/activiti-spring-boot/spring-boot-starters/activiti-spring-boot-starter-basic/src/ma... if this helps.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.