AnsweredAssumed Answered

Java ServiceTask and security

Question asked by re3lex on May 8, 2011
Latest reply on May 9, 2011 by frederikheremans1
Hi guys!

I'm using Activiti5.5 with SpringSecurity 3.0.5.

All my spring services marked as secured and have exact allowed roles.

There is a couple of Java Service Tasks in my process. These service tasks should invoke some spring services an write result to DB.

But I have faced with the following issue: Java Service Tasks is executed out of security context by default.
So when Java Service Task's handler tries to invoke some secured spring service I'm getting exception.

Does anybody know how to configure Activiti to execute Java Service Tasks in some security context?

Outcomes