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 
based that is used for my session beans methods also.

The problem arises when the proxy decides that the action is not allowed and throws 
SecurityException, as it should. This leads to a case where no more calls through this 
proxy can be made, thus the session bean is not usable and client cannot make any 
actions that need the session bean leading to need of resetting whole session bean.

Is there a way of resetting or starting the Proxy? I am using at the moment the 
default security proxy factory, are there listeners for these factories for me to 
implement so that when exception happends the factory could initiate a new proxy?

Or have I just done something stupid?

Henri



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854048#3854048

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854048


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to