[Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea
by praenti
After some trying I get another error, so I tried to find out where the method isUserInRole is implemented, because I want to know what happens there. So where can I have a deeper look into that?
The error is
| ...
| 13:33:02,033 INFO [Login] User extern.michael.obster: login successfull!
| 13:33:02,049 DEBUG [CoyoteAdapter] Requested cookie session id is 935A59F3B0ED6
| 44F944D50636D518275
| 13:33:02,080 DEBUG [JAASLoginInterceptor] Login INTERCEPT
| 13:33:02,096 DEBUG [JAASLoginInterceptor] User Principal=extern.michael.obster
| 13:33:02,096 DEBUG [RealmBase] Username extern.michael.obster does NOT have role
| RegularUser
| 13:33:02,096 DEBUG [JAASLoginInterceptor] isUserInRole(Authorized User)=false
| 13:33:02,096 DEBUG [RealmBase] Username extern.michael.obster does NOT have role
| RegularUser
| 13:33:02,096 ERROR [[default]] Servlet.service() for servlet default threw excep
| tion
| javax.servlet.ServletException: User is not authenticated or the isUserInRole ch
| eck failed
| at vwg.audi.cancard.ui.interceptor.JAASLoginInterceptor.intercept(JAASLo
| ginInterceptor.java:77)
| at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
| ActionInvocation.java:224)
| ...
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258390#4258390
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258390
16 years, 7 months
[jBPM Users] - [jBPM4] Problem retrieving activities from history
by freiburger
Hi there,
I'm stuck with the following scenario using jBPM 4.1:
I have a simple fork/join pattern like
| [...]
| <fork name="Fork">
| <transition name="1" to="Node1"/>
| <transition name="2" to="Node2"/>
| </fork>
| <state name="Node1">
| <transition name="3" to="Join" />
| </state>
| <state name="Node2">
| <transition name="4" to="Join" />
| </state>
| <join name="Join">
| [...]
|
Now I'm trying to retrieve _all_ past activities from a running process instance. This is no problem using the history service as long as all child processes are still running by simply recursing into them and doing a query on each executions ID, but as soon as a child process has terminated I do see no way getting the IDs of them for building a history query on them. As far as I see the only place where the IDs are then stored in the DB is in the JBPM4_HIST_ACTINST table itsself, but before I can query it I would need exactly those IDs using another mechanism. I hope you understand my problem, to sum it up:
How do I get the IDs of terminated child executions of a running process instance?
Thanks for your help.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258374#4258374
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258374
16 years, 7 months