Hi berrysx:

you can use the following to retrieve the subject on ejb3.

Subject subject = (Subject) ic.lookup("java:jaas/<your protection 
domain>/subject");

where <your protection domain> 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?module=bb&op=viewtopic&p=4060569#4060569

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060569
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to