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