[jboss-user] [EJB 3.0] - Re: How to get a reference to Subject

2007-07-05 Thread berrysx
Thanks Gustavo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060699#4060699 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060699 ___ jboss-user mailing list jboss-user@list

[jboss-user] [EJB 3.0] - Re: How to get a reference to Subject

2007-07-04 Thread gmuzzillo
Hi berrysx: you can use the following to retrieve the subject on ejb3. Subject subject = (Subject) ic.lookup("java:jaas//subject"); where stands for the protection domain name you've declared login-config.xml Best regards. Gustavo View the original post : http://www.jboss.com/index.html?mo