If you are using J2EE security would need to call
org.jboss.security.SecurityAssociation.getSubject() and get the principals from there. If
you are running with a security manager enabled this needs to be done from within a
privileged block
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968924#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...