Post a bug to sourceforge with the code that demonstrates the issue. http://sourceforge.net/tracker/?group_id=22866&atid=376685
xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ----- Original Message ----- From: "Sternagel Annegret (PN-SYS/PE)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 8:58 AM Subject: [JBoss-user] SecurityException after bean passivation > Hello, > > I asked this question already but still can't get it to work. So I'll try > again ... > > I have a secured Stateful SessionBean (Bean1) which accesses another secured > Stateful SessionBean (Bean2). I store the reference of the remoteinterface > of Bean2 in a Hastable attribute in Bean1. > It works fine as long as the securitycache is used. But when the security is > checked again and Bean1 and Bean2 have been passivated I get a > SecurityException > > [SubscriberSB] Authentication exception, principal=null > [SubscriberSB] TRANSACTION ROLLBACK EXCEPTION:checkSecurityAssociation; > nested exception is: > java.lang.SecurityException: Authentication exception, > principal=null; > ... > > When the reference of Bean2 has not been initialised it's working fine. > What's going on here ? > > When I store the bean Handle and try to restore the bean I get the > SecurityException every time calling handle.getEJBObject() and not only if > the bean has been passivated. > > Any help would be appreciated > > Annegret _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
