I'm in the process of migrating to EJB3.0.
I used to access the Subject in a stateless session bean as follows:
Subject subject = (Subject) ic.lookup("java:comp/env/security/subject");
But in the same bean using EJB3 this code throws:
javax.naming.NameNotFoundException: env not bound
My question is how do I get a reference to the Subject?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060536#4060536
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060536
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user