Both of these return the correct object:
Object idObj = Component.getInstance("identity");
Identity id = (com.mycompany.pws.security.Identity)Identity.instance();
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065839#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...