-
1. Re: removing the identity component
anuragpaliwal Apr 11, 2008 1:35 PM (in response to ajanz)Hi,
Well it depends whether you really like to use expression fro assignment or not.
If not then its easy because jbpm use String datatype to store actorIds. Hence you can use your own IdentityComponent ini AssignmentHandler's assign method. You don't have to tell jbpm anything about your IC(IdentityComponent).
But if you would like to use expressionhandler then its not that easy. It has small dependency on IC provided by Jbpm.
Cheers!!!!!! -
2. Re: removing the identity component
ajanz Apr 11, 2008 6:17 PM (in response to ajanz)don't know if i understand you right.
suppose i don't want to use expressions....
so i write my own assignmenthandler ( with use of strings as ids) and use it in the processdefinition?
so i can completly forget about the jbpm identity component?
or what is meant by identity component? -
3. Re: removing the identity component
ajanz Apr 16, 2008 4:14 AM (in response to ajanz)the only way i see so long is modifying the sources. especially the Class IdentitySession
Is this the right way??? -
4. Re: removing the identity component
ajanz Apr 17, 2008 7:48 AM (in response to ajanz)so i replaced the implementation of identitysession with my own.
but it is never called...
what am i doing wrong?
please help. it's urgent -
5. Re: removing the identity component
gustavodesimone Apr 29, 2008 3:25 PM (in response to ajanz)I have the same problem.
Have you resolved it?
Thank in advance. -
6. Re: removing the identity component
ajanz Apr 30, 2008 8:48 AM (in response to ajanz)for me there are two solutions.
first
- modify the source of the existing component, an delegate the functions to your own component. ( you have to remove the hibernate configuration)
this will even work with the sample web app
be carfeful with the mail node. you must write some code for resolving the email adress
second
use your own assignmenthandler.
this will not work with the sample app -
7. Re: removing the identity component
kukeltje Apr 30, 2008 11:16 PM (in response to ajanz)in a few weeks I'll post a document that describes how to do things like this. So keep posted.
-
8. Re: removing the identity component
lblaauw Jun 11, 2008 5:07 AM (in response to ajanz)Ronald,
Did you ever get to post the document you mention below ? I would love to see that too, since we also have our own user database allready. We use the jboss custom jaas handlers to authenticate and authorise the users and get their groups allready.
Rigth now we are not using the jbpm identity library but loosing the option to assign the adressee of a task with expressions is a shame in this way.
Since we need to dynamically assign users to tasks I believe it would be handy to have this functionality back even if we use our own user database...
Or would it be simpler to have a variable and to assign a user to this variable in the starttask and use this variable as the assignee of the first task in the flow ??
Greetings,
Leo"kukeltje" wrote:
in a few weeks I'll post a document that describes how to do things like this. So keep posted. -
9. Re: removing the identity component
kukeltje Jun 11, 2008 5:57 AM (in response to ajanz)uhmm... no... because I was also refactoring some things in jBPM, at least trying to and it did not fully work yet because of my limited hibernate knowledge. It has a lesser priority now.
If you try to do things and run into issues, feel free to ask and I'll see how I can help out