07-13-2018 07:36 AM
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
07-16-2018 02:57 AM
How that relates to ADF forum?
07-17-2018 10:24 AM
I moved it in the activiti channel
07-18-2018 10:40 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.