[jboss-user] [Security & JAAS/JBoss] - Re: Ejb3 security using properties file

2009-01-02 Thread jaikiran
"rudreshtcs" wrote : | It is working after server restart, my assumption on jboss was that, we need not restart the server, just create a ejb jar again and deploy. | JBoss caches the roles that have been assigned to a principal. So any changes to roles will not be visible till the cache is

[jboss-user] [Security & JAAS/JBoss] - Re: Ejb3 security using properties file

2009-01-02 Thread rudreshtcs
Hi, It is working after server restart, my assumption on jboss was that, we need not restart the server, just create a ejb jar again and deploy. Meanwhile, just as every ejb3 beginner, even i have a doubt on calling stateful session bean, the example given for stateful works fine..but it gives

[jboss-user] [Security & JAAS/JBoss] - Re: Ejb3 security using properties file

2009-01-02 Thread jaikiran
anonymous wrote : when kabir is set as student, it works as expected, but when i change the role as "teacher". the result is same, it is giving error for division and it does subtract operation fine. Did you restart the server after changing the roles.properties? View the original post : htt

[jboss-user] [Security & JAAS/JBoss] - Re: Ejb3 security using properties file

2009-01-01 Thread rudreshtcs
Hi, Firstly thank you for helping me out, i just followed the example. It works fine But i have a doubt, when kabir is set as student, it works as expected, but when i change the role as "teacher". the result is same, it is giving error for division and it does subtract operation fine. My un

[jboss-user] [Security & JAAS/JBoss] - Re: Ejb3 security using properties file

2009-01-01 Thread jaikiran
Which version of JBossAS do you use? For latest versions, the org.jboss.annotation.security.SecurityDomain (used in the tutorial) is now moved to org.jboss.ejb3.annotation.SecurityDomain. For JBossAS-5.0 GA, the EJB3 tutorials are work-in-progress and will be available soon. If you are using JB