Ronald,
you are right, this should be better documented. I will put it on my agenda to try it out
and document it in a wiki. But for all interested already, this is what Tom has to say
about this topic:
anonymous wrote : Two basic steps should be taken into account.
|
| jBPM itself does not contain any capabilities for authentication. Therefor, the
easiest way to make jBPM aware of the current user is to inject it with the method
jbpmContext.setActorId(String); This should be done as one of the first methods inside a
JbpmContext try-finally block.
|
| Second thing to do is implement your own AssignmentHandler that will calculate the
actorId (String) when tasks are to be assigned. Then reference this AssignmentHandler in
the process definition.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053532#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...