[JBoss-user] [EJB/JBoss] - Re: concurrent calls to session bean methods

2004-11-27 Thread henkkacre
Hi, Thanks for a swift reply. I took a look at the class you implied and these questions arose... Is the current interceptor private for a single Statefull SessionBean Instance? As it does not seem to use the ThreadLocal to store EJBContext as in a type of solution that is suitable for Securit

[JBoss-user] [EJB/JBoss] - concurrent calls to session bean methods

2004-11-26 Thread henkkacre
Hi, In web-logic there is a allow-concurrent-calls tag that prevents SessionBean error when trying to access the methods concurrently. How is the prevention of these concurrent calls done in JBoss or are there any solutions? I have understood that the SessionBeans are not allowed to have synch

[JBoss-user] [Security & JAAS/JBoss] - Re: SecurityProxy reset?

2004-11-10 Thread henkkacre
Hi, It is a Stateful SessionBean. And yes it throws NoSuchObjectException on the next method call on the bean, I have now circumvented this by doing a relogin after the security exception. Thanks, Henri View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=385457

[JBoss-user] [Security & JAAS/JBoss] - Re: SecurityProxy reset?

2004-11-09 Thread henkkacre
Hi, Here's the code I am using in my test proxy. When the method test is called inside session bean, the SecurityException is thrown. If I try to call any other method session bean after that nothing happens. Could it be in the use of ThreadLocal? isnt it needed for multiple user control? pack

[JBoss-user] [Security & JAAS/JBoss] - SecurityProxy reset?

2004-11-05 Thread henkkacre
Hi, My app architecture is WebStart app, session beans and db on server; I have implemented a security proxy for my session bean. It works fine, instantiates, and serves well as proxy during method invokations. The need for it is simple, to do more sophisticated security checks than the role bas

[JBoss-user] [Security & JAAS/JBoss] - Re: isCallerInRole returns no security context-set with webs

2004-10-29 Thread henkkacre
Hi, Thanks for a swift reply. The jboss.xml descriptor in my build is located in a wrong path, I'll try if this was the only problem. I clearly had become blind for my own code, as I could not see that I had made the builds with descriptor in wrong place. Thank you very much, Henri View the

[JBoss-user] [Security & JAAS/JBoss] - isCallerInRole returns no security context-set with webstart

2004-10-27 Thread henkkacre
Hi, I have been fighting this thing for days. I have read the JAAS how to and I've read through the whole forum and still not got this right. Maybe I've become blind to my own code. I use jboss-3.2.5. The architecture of my application is following: I have an ear that holds one jar package of