Jboss : 4.0.4 GA
Ejb: 3.0
Hi all,
I am using JbossAS for my JEE application which involves ejb3. I have given role based permission to an ejb session bean method using annotations. This works fine along expected lines for allowing / denying users belonging to certain roles to access the method. However, when I try to change the role based ejb3 method permission on the fly, the policy configuration shows the role and permisiion have changed in the active policy map after commit() is called, but the container (JbossAS) shows the same behavior as before based on the old permissions given in the annotations during system startup. How can I change the ejb3 method permission on the fly and make the container aware of it? Please help me regarding this problem.
Thank you,
-P.