[jboss-user] [Security & JAAS/JBoss] - Help! flushAuthenticationCache cann't work!

2006-12-15 Thread joeyli
I use the following code to flush the role, but I use the request.isUserInRole('Anonymous'), the result is still true: | private void logout() throws Exception { | | String domainName = "EatOutDomain"; | | MBeanServer server = (MBeanServer) MBeanServerFactory |

[jboss-user] [EJB 3.0] - Re: Can I reference or inheritance between two jar files?

2006-10-26 Thread joeyli
This issue was solved: I add the following statement into the persistence.xml in order.jar: ../EatOutEJB3auth.jar The content like following: java:/EatOutDS ../EatOutEJB3auth.jar

[jboss-user] [EJB 3.0] - Can I reference or inheritance between two jar files?

2006-10-25 Thread joeyli
I have two EJB3 subsystem: Auth system: was packed in auth.jar file and Order system: was packed in order.jar file Now, I have a entity bean that's name is EOlocation, and it was packed in auth.jar: @Entity @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) public class EOlocation implem