This content has been marked as final.
Show 3 replies
-
1. Re: jbpm with EJBs-->security
yxyang Aug 5, 2006 9:41 AM (in response to yxyang)In other words,
how to pass the security information of the EJB enviroments to the jbpm engine?
e.g., is it possible to pass Caller Principal of EJB method calls to the jbpm engine methods?
what is the recommended way?
Thanks
yang -
2. Re: jbpm with EJBs-->security
yxyang Aug 5, 2006 9:53 AM (in response to yxyang)Do i only need to change jbpm.cfg.xml file as below?
<service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory" />
to <service name="authentication" factory="org.jbpm.security.authentication.JBossAuthenticationServiceFactory" />
Regards
Yang -
3. Re: jbpm with EJBs-->security
kukeltje Aug 5, 2006 11:19 AM (in response to yxyang)post 1: currently the webapp does authenication, jbpm uses this by getting the userPrincipal. The ejb should get this as well, as long as it is passed on by the container. Did you try this and get errors or no user?
post 2: this is a question the other way around. You cat pass the actorID to jBPM yourself. Where you get it from (e.g. the ejb context) is up to you.
post 3:
That is partly related, but afaik, not relevant regarding your questions.