Hi all, 
 
  My web application has a protected stateful EJB that is accessed by a servlet. I use 
JAAS authentication to the servlet and EJB. At the first access after authentication, 
the servlet creates an instance of the stateful EJB and stores the EJB's handle in a 
private variable. This handle is used to execute methods on the stateful EJB in the 
next access to the servlet. It is working well. 
  When the servlet is removed, i would like to remove also the bean instance, but when 
i try to call remove on the EJBObject returned by the handle, i get an exception: 

10:52:58,766 ERROR [LogInterceptor] EJBException, causedBy:
java.lang.SecurityException: Authentication exception, principal=null

  What is happening? 

Thanks for any help!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842035#3842035

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842035


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to