[jboss-user] [JBoss jBPM] - Re: Indentityservice- Jbpm4

2009-07-01 Thread nilspreusker
By the way, for spring users it might be interesting to know that you can also reference spring beans instead of a class reference in jBPM's transaction context. If you have a bean configured in your application context like this: | | You can reference it in your jBPM configuration's

[jboss-user] [JBoss jBPM] - Re: Indentityservice- Jbpm4

2009-07-01 Thread nilspreusker
Here is my current (working) jbpm.cfg.xml: | | | | | | | | | | | | | | | | | | | | | | | | | | | | |

[jboss-user] [JBoss jBPM] - Re: Indentityservice- Jbpm4

2009-07-01 Thread kukeltje
Huh? Seriously Then I must have done something wrong myself, since I did do this and it did not work for me. So I thought I might have the same problem as you. Back to debugging View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241151#4241151 Reply to

[jboss-user] [JBoss jBPM] - Re: Indentityservice- Jbpm4

2009-07-01 Thread nilspreusker
"tom.baey...@jboss.com" wrote : here's pointers on how to plug your own identity service | | in jbpm.cfg.xml, remove the line | | | | and add | | | | | | | | | | YourIdentitySessionImpl should implement org.jbpm.pvm.internal.identity.spi.Identity

[jboss-user] [JBoss jBPM] - Re: Indentityservice- Jbpm4

2009-06-29 Thread kukeltje
Sorry for the confusion. With 'fully pluggable' I meant 100% stable and documented api, testcases, example etc. Afaik, this is not (yet) the case and therefore it is not targeted at 4.0. This does not mean however that things will change drastically, on the contrary, most is quite ok. If you ha

[jboss-user] [JBoss jBPM] - Re: Indentityservice- Jbpm4

2009-06-29 Thread nilspreusker
Hi guys, thanks for your feedback! Regarding the idea of modifying the hibernate mappings of the jBPM UserImpl, I did get it to work, but I agree with your point that it ties the two application domains too close together. The reason I'm working with the trunk is that I'm using some spring integ

[jboss-user] [JBoss jBPM] - Re: Indentityservice- Jbpm4

2009-06-29 Thread kukeltje
"shekharv" wrote : | Regarding the solution that you were trying out, it is not something that would not work, but it is not something I would do. | | It still ties in your application domain a little too close to that of the jbpm domain. Ideally you would want them to be separated out a

[jboss-user] [JBoss jBPM] - Re: Indentityservice- Jbpm4

2009-06-28 Thread shekharv
I was working against CR1 code. I do not have a build of current trunk to comment on whether or not it works, Did you try against CR1? Is there a particular reason to go against trunk code directly? Something you cannot wait to use till it is officially out :) ?. I will let you know if I see

[jboss-user] [JBoss jBPM] - Re: Indentityservice- Jbpm4

2009-06-27 Thread nilspreusker
Hi shekharv, thanks for the hint. However, I've seen your post before and tried the configuration that you mentioned there, but it doesn't seem to work with the current trunk version of jBPM4. I just realized, though, that there might be a better way to achieve what I'm trying. I'm integrating j

[jboss-user] [JBoss jBPM] - Re: Indentityservice- Jbpm4

2009-06-26 Thread shekharv
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=157513 Please refer to the above post. I posted some instructions on there too. I have it setup the way it is recommended in the user guide and it does work. You might just want to start small and modify the config within the jbpm example

[jboss-user] [JBoss jBPM] - Re: Indentityservice- Jbpm4

2009-06-26 Thread kukeltje
By changing the source? So the hardcoded reference is not there anymore? (I've not had a look at the source for this part so I'm just suggesting). If you want to help and make it fully plugable (which is not targeted at the 4.0 release) please discuss things in the dev forum. View the original

[jboss-user] [JBoss jBPM] - Re: Indentityservice - Jbpm4

2009-06-26 Thread nilspreusker
Hi all, I've tried to register a custom IdentitySessionImpl the way it is described in chapter 9 of the user guide (implementing org.jbpm.session.IdentitySession - which has been moved to org.jbpm.pvm.internal.identity.spi.IdentitySession - and configuring it in the trasnaction-context of the j

[jboss-user] [JBoss jBPM] - Re: Indentityservice- Jbpm4

2009-06-12 Thread kukeltje
Best is to start with the source, since these parts are not documented yet. If you do, would be nice if you could e.g blog about it View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237229#4237229 Reply to the post : http://www.jboss.org/index.html?module=bb&o