[jboss-user] [JBoss jBPM] - Re: Wrong creation script for MySQL in 3.2 GA ?
mputz
do-not-reply at jboss.com
Tue Jun 12 09:12:42 EDT 2007
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#4053532
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053532
More information about the jboss-user
mailing list