disable activiti 6.0 authentication

Showing results for 
Search instead for 
Did you mean: 
Member II

disable activiti 6.0 authentication


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.SecurityAutoConfiguration.class}) but it didnt work for 6.0, 

Kindly help us to avoid this authentication. Thanks in advance.


3 Replies
Alfresco Employee

Re: disable activiti 6.0 authentication

How that relates to ADF forum?

Alfresco Employee

Re: disable activiti 6.0 authentication

I moved it in the activiti channel

Alfresco Employee

Re: disable activiti 6.0 authentication

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.